STM32WB - How to add additional/reboot characteristic to bluetooth mesh proxy node?
Hello,
I want to be able to perform OTA updates of nodes in a bluetooth mesh network. Therefore I want to add a service and a characteristic to the existing BLE connection between a proxy node and a smartphone/PC. Currently, only the mesh provisioning service (UUID 0x1827) is present on the STM32WB using the example program BLE_MeshLightingPRFNode for the STM32WB55.
Could you please provide some guidance on how to add an additional characteristic to a BLE connection of a mesh node?
I've tried to add an additional service using the functions aci_gatt_add_service(...) and aci_gatt_add_char(...) to add a characteristic. I've tested calling these functions from different places in the program flow. Calling these functions before MESH_Init(...) in Middlewares/.../mesh.c or after MESH_Init(...) both didn't work.
If someone has a suggestion how to do it, I would be very grateful.
Thanks
