We don't have a modified version of mesh_vendor_specific code to read and publish the battery voltage.
mesh_vendor_specific_app is an application which demonstrates how to implement custom (vendor) mesh model.
SIG has defined a Generic Battery model in the mesh spec. The implementation is demonstrated in mesh_battery_server/client under snip mesh category. (Link)
Please refer spec for more details. https://www.bluetooth.com/specifications/mesh-specifications/
I code load mesh_baterry server to one board and code privision_client / battery_client to another board
I provided the board with code battery_server with MESH CLIENT CONTROL APP, but I don't know how to check the battery level with MESH CLIENT CONTROL APP,
Can you explain me ? How to check the battery level with MESH CLIENT CONTROL APP?
Another question, can I combine the vendor specific code that you provided to me in this link with the battery_server code?we need help with BLE MESH
I want that in addition to the board with the vendor specific code sending the scanned mac and rrssi data that it scans, this board also sends the battery level it uses
1 of 1 people found this helpful
You will have to use appropriate Destination Address and App Key Index in the ClinctControl models tab.
Please check the NetworkName.JSON file created by the clientcontrol to get the appKeys and index. Please use Setup app key index for GET and SET commands.
For example: (In my network)
Yes, you can implement multiple models in an element.