Hi,
1.Is a Health Server model required for BLE Mesh nodes?
2.Does not using relay nodes affect message subscription?
3.Does the app developer receive acknowledgments for messages sent to nodes that are not connected to GATT?
Here are the logs from the connection using nRF Mesh:
Starting provisioning log
Code: Select all
I (293040) GATTS_TABLE_DEMO: ESP_GATTS_CONNECT_EVT, conn_id = 0
I (293040) GATTS_TABLE_DEMO: 65 1d 54 f3 f0 43
I (293042) GATTS_DEMO: Connected, conn_id 0, remote 65:1d:54:f3:f0:43
W (293050) BT_L2CAP: l2cble_start_conn_update, the last connection update command still pending.
I (293120) GATTS_DEMO: MTU exchange, MTU 517
I (293420) GATTS_TABLE_DEMO: update connection params status = 0, min_int = 16, max_int = 32,conn_int = 24,latency = 0, timeout = 400
I (293810) EXAMPLE: ESP_BLE_MESH_NODE_PROV_LINK_OPEN_EVT, bearer PB-GATT
W (293870) BLE_MESH: No Health Server context provided
I (294800) BLE_MESH: Algorithm: 0x00
I (294800) BLE_MESH: Public Key: 0x00
I (294800) BLE_MESH: Auth Method: 0x00
I (294802) BLE_MESH: Auth Action: 0x00
I (294806) BLE_MESH: Auth Size: 0x00
I (295072) BLE_MESH: Primary Element: 0x0011
I (295072) BLE_MESH: net_idx 0x0000 flags 0x00 iv_index 0x0000
I (295074) BLE_MESH: dev_key 7b333402ca69b6502c54bd6d485ec13d
W (295080) BLE_MESH: No Health Server context provided
I (295092) BLE_MESH: Primary address 0x0011, element count 1
I (295092) BLE_MESH: Settings store, waiting 0 seconds
I (295100) BLE_MESH: Settings store, waiting 0 seconds
I (295108) BLE_MESH: Settings store, waiting 0 seconds
I (295110) BLE_MESH: Settings store, waiting 0 seconds
I (295118) BLE_MESH: net_idx 0x000 iv_index 0x00000000 flags 0x00
I (295126) BLE_MESH: Scan is already started
I (295136) EXAMPLE: ESP_BLE_MESH_NODE_PROV_LINK_CLOSE_EVT, bearer PB-GATT
I (295138) EXAMPLE: ESP_BLE_MESH_NODE_PROV_COMPLETE_EVT
I (295140) EXAMPLE: net_idx: 0x0000, addr: 0x0011
I (295146) EXAMPLE: flags: 0x00, iv_index: 0x00000000
W (295222) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x13
I (295232) GATTS_TABLE_DEMO: ESP_GATTS_DISCONNECT_EVT, reason = 0x13
I (295232) GATTS_DEMO: Disconnected, remote 65:1d:54:f3:f0:43, reason 0x13
I (295244) GATTS_TABLE_DEMO: advertising start successfully
I (295250) GATTS_TABLE_DEMO: advertising start successfully
for binding Key
Code: Select all
I (436980) BLE_MESH: Received 0/1
I (437040) BLE_MESH: Received 1/1
I (437040) BLE_MESH: Settings store, waiting 0 seconds
I (437054) BLE_MESH: Settings store, waiting 0 seconds
I (437066) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (437066) BLE_MESH: recv, len 20: 00000000ab10ae3edf91d18e515dc614c9217341
I (437070) BLE_MESH: Settings store, waiting 0 seconds
I (437080) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (437082) BLE_MESH: send, len 6: 800300000000
I (437088) BLE_MESH: Settings store, waiting 0 seconds
I (437108) EXAMPLE: ESP_BLE_MESH_MODEL_OP_APP_KEY_ADD
I (437110) EXAMPLE: net_idx 0x0000, app_idx 0x0000
I (437110) AppKey: ab 10 ae 3e df 91 d1 8e 51 5d c6 14 c9 21 73 41
I (437160) BLE_MESH: Settings store, waiting 0 seconds
I (437174) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (437174) BLE_MESH: recv, len 8: 803d110000000010
I (437176) BLE_MESH: Settings store, waiting 0 seconds
I (437186) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (437188) BLE_MESH: send, len 9: 803e00110000000010
I (437194) BLE_MESH: Settings store, waiting 0 seconds
I (437214) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND
I (437216) EXAMPLE: elem_addr 0x0011, app_idx 0x0000, cid 0xffff, mod_id 0x1000
I (437280) BLE_MESH: Settings store, waiting 0 seconds
I (437294) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (437294) BLE_MESH: recv, len 8: 803d110000000713
I (437296) BLE_MESH: Settings store, waiting 0 seconds
I (437314) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (437316) BLE_MESH: send, len 9: 803e00110000000713
I (437318) BLE_MESH: Settings store, waiting 0 seconds
I (437338) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND
I (437340) EXAMPLE: elem_addr 0x0011, app_idx 0x0000, cid 0xffff, mod_id 0x1307
I (437400) BLE_MESH: Settings store, waiting 0 seconds
I (437414) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (437414) BLE_MESH: recv, len 8: 803d110000000013
I (437416) BLE_MESH: Settings store, waiting 0 seconds
I (437436) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (437436) BLE_MESH: send, len 9: 803e00110000000013
I (437438) BLE_MESH: Settings store, waiting 0 seconds
I (437460) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND
I (437460) EXAMPLE: elem_addr 0x0011, app_idx 0x0000, cid 0xffff, mod_id 0x1300
I (437550) BLE_MESH: Settings store, waiting 0 seconds
I (437564) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (437564) BLE_MESH: recv, len 8: 803d110000000313
I (437566) BLE_MESH: Settings store, waiting 0 seconds
I (437586) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (437586) BLE_MESH: send, len 9: 803e00110000000313
I (437588) BLE_MESH: Settings store, waiting 0 seconds
I (437608) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND
I (437610) EXAMPLE: elem_addr 0x0011, app_idx 0x0000, cid 0xffff, mod_id 0x1303
I (437670) BLE_MESH: Settings store, waiting 0 seconds
I (437684) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (437684) BLE_MESH: recv, len 8: 803d110000000c13
I (437686) BLE_MESH: Settings store, waiting 0 seconds
I (437706) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (437706) BLE_MESH: send, len 9: 803e00110000000c13
I (437708) BLE_MESH: Settings store, waiting 0 seconds
I (437728) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND
I (437730) EXAMPLE: elem_addr 0x0011, app_idx 0x0000, cid 0xffff, mod_id 0x130c
I (437790) BLE_MESH: Settings store, waiting 0 seconds
I (437804) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (437804) BLE_MESH: recv, len 10: 803d11000000e5020100
I (437806) BLE_MESH: Settings store, waiting 0 seconds
I (437816) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (437818) BLE_MESH: send, len 11: 803e0011000000e5020100
I (437826) BLE_MESH: Settings store, waiting 0 seconds
I (437846) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND
I (437846) EXAMPLE: elem_addr 0x0011, app_idx 0x0000, cid 0x02e5, mod_id 0x0001
for Subscribing
Code: Select all
I (509310) BLE_MESH: Settings store, waiting 0 seconds
I (509324) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (509326) BLE_MESH: recv, len 8: 801b110000c00010
I (509326) BLE_MESH: Settings store, waiting 0 seconds
I (509336) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (509338) BLE_MESH: send, len 9: 801f00110000c00010
I (509346) BLE_MESH: Settings store, waiting 0 seconds
I (509366) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_SUB_ADD
I (509368) EXAMPLE: elem_addr 0x0011, sub_addr 0xc000, cid 0xffff, mod_id 0x1000
I (509430) BLE_MESH: Settings store, waiting 0 seconds
I (509446) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (509448) BLE_MESH: recv, len 8: 801b110000c00713
I (509448) BLE_MESH: Settings store, waiting 0 seconds
I (509458) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (509460) BLE_MESH: send, len 9: 801f00110000c00713
I (509468) BLE_MESH: Settings store, waiting 0 seconds
I (509488) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_SUB_ADD
I (509490) EXAMPLE: elem_addr 0x0011, sub_addr 0xc000, cid 0xffff, mod_id 0x1307
I (509550) BLE_MESH: Settings store, waiting 0 seconds
I (509568) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (509568) BLE_MESH: recv, len 8: 801b110000c00013
I (509570) BLE_MESH: Settings store, waiting 0 seconds
I (509580) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (509582) BLE_MESH: send, len 9: 801f00110000c00013
I (509590) BLE_MESH: Settings store, waiting 0 seconds
I (509610) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_SUB_ADD
I (509610) EXAMPLE: elem_addr 0x0011, sub_addr 0xc000, cid 0xffff, mod_id 0x1300
I (509670) BLE_MESH: Settings store, waiting 0 seconds
I (509688) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (509690) BLE_MESH: recv, len 8: 801b110000c00313
I (509690) BLE_MESH: Settings store, waiting 0 seconds
I (509700) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (509702) BLE_MESH: send, len 9: 801f00110000c00313
I (509710) BLE_MESH: Settings store, waiting 0 seconds
I (509732) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_SUB_ADD
I (509734) EXAMPLE: elem_addr 0x0011, sub_addr 0xc000, cid 0xffff, mod_id 0x1303
I (509790) BLE_MESH: Settings store, waiting 0 seconds
I (509808) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (509810) BLE_MESH: recv, len 8: 801b110000c00c13
I (509810) BLE_MESH: Settings store, waiting 0 seconds
I (509820) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (509822) BLE_MESH: send, len 9: 801f00110000c00c13
I (509830) BLE_MESH: Settings store, waiting 0 seconds
I (509852) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_SUB_ADD
I (509852) EXAMPLE: elem_addr 0x0011, sub_addr 0xc000, cid 0xffff, mod_id 0x130c
I (509910) BLE_MESH: Settings store, waiting 0 seconds
I (509928) BLE_MESH: recv, app_idx 0xfffe src 0x0001 dst 0x0011
I (509930) BLE_MESH: recv, len 10: 801b110000c0e5020100
I (509932) BLE_MESH: Settings store, waiting 0 seconds
I (509940) BLE_MESH: send, app_idx 0xfffe src 0x0011 dst 0x0001
I (509944) BLE_MESH: send, len 11: 801f00110000c0e5020100
I (509950) BLE_MESH: Settings store, waiting 0 seconds
I (509974) EXAMPLE: ESP_BLE_MESH_MODEL_OP_MODEL_SUB_ADD
I (509974) EXAMPLE: elem_addr 0x0011, sub_addr 0xc000, cid 0x02e5, mod_id 0x0001