I have 2 ESP32 development boards and they are implemented as a node (Node) and a provisioner/client (Provisioner) respectively.
Node: Based on: EXAMPLE ble_mesh_node https://github.com/espressif/esp-idf/tr ... _mesh_node
Provisioner: Similar to: EXAMPLE ble_mesh_provisioner_console https://github.com/espressif/esp-idf/tr ... rovisioner
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Issue 1:[Important]
Currently, Provisioner is able to
1. Add app key to Node
2. Bind app key to Node's generic onoff server
3. Set publish parameters on Node
And Provisioner cannot:
4. Add group address to Provisioner's generic onoff client
I have tried:
1. Modify subscription list of Provisioner 's generic onoff client which is part of the local comp data obtained by calling esp_ble_mesh_get_composition_data() [Results: No errors, but no effect]
2. Provisioner calls esp_ble_mesh_client_model_send_msg() which has element address to itself [Results:
Code: Select all
E (14629) BLE_MESH: model_send, Failed to check DST
E (14629) BLE_MESH: mod_sub, send failed (err -22)
E (14629) BLE MESH CONTROL: esp_ble_mesh_config_client_cb: Get node info failed
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Issue 2: [Not too important]
When Provisioner calls esp_ble_mesh_provisioner_add_unprov_dev(), it logs:
Code: Select all
E (8379) BT_GATT: GATT_SendServiceChangeIndication can't send service change indication manually, please configure the option through menuconfig
Code: Select all
W (20499) BT_GATT: gatt_ind_ack_timeout send ack now
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thank you in advance