You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build the blemesh shell demo on linux platform. so it could be a ble mesh provisioner.
Maybe someone else also want to build this demo, so i pushed a commit here. commit
This commit want to keep nimble/host/mesh/src/shell.c not changed since it is in the nimble stack core directory.
Notes:
provisioner.c should work without marco BLE_MESH_CDB (for a simple demo)
Modification not be committed :
nimble/host/mesh/src/shell.c prints 'uint32_t' variable with "%lx" format, it cause compile warnning. (should switch to PRIx32 or %x)
bt_rand(void *buf, size_t len) calls ble_hs_hci_rand() to generate random numbers. My ble controller is buggly to support this.
so i changed this function to read the random number from '/dev/urandom' for testing.
I am trying to build the blemesh shell demo on linux platform. so it could be a ble mesh provisioner.
Maybe someone else also want to build this demo, so i pushed a commit here. commit
This commit want to keep nimble/host/mesh/src/shell.c not changed since it is in the nimble stack core directory.
Notes:
provisioner.c
should work without marcoBLE_MESH_CDB
(for a simple demo)Modification not be committed :
nimble/host/mesh/src/shell.c
prints 'uint32_t' variable with "%lx" format, it cause compile warnning. (should switch to PRIx32 or %x)bt_rand(void *buf, size_t len)
callsble_hs_hci_rand()
to generate random numbers. My ble controller is buggly to support this.so i changed this function to read the random number from '/dev/urandom' for testing.
The test reuslt:
The text was updated successfully, but these errors were encountered: