ESP32C3 BLE-Mesh example (IDF)
Budget: €30 – €250 EUR
Using the ESP32C3 DevkitC-02 board, we want to extend the IDF ble_mesh_node examples, creating a mesh network of 4 nodes: 3 servers and 1 client.
In the server, add an int32_t counter that increments its value by +1, every second that the green LED is on.
From the client, have the service set any green led in the other nodes in status on or off.
From the client, have the service for reading the counter in any other server node.
From the client, have the service for writing the counter in any other server node.
The features above permit us, from the free android nRF-Mesh app, to create the BLE-mesh network and do the following functions:
1) Control the server nodes, subscribing to them in a group and controlling their LEDs and counters (the present example in IDF)
2) Control the server nodes from the client node.
In this, we want to control any server node in the Mesh network, communicating only with the client node. The client exposes the services like:
a) Green LED (on/off):
switch on and off the green LEDs in any server node in the ble-mesh network.
b) Counter service node "ID1" (read/write)
Read and write the counter in the service node "ID1". Where "ID1" is an identification of one specific service node. It could be its remote address.
b) Counter service node "ID2" (read/write)
b) Counter service node "ID3" (read/write)
In the server, add an int32_t counter that increments its value by +1, every second that the green LED is on.
From the client, have the service set any green led in the other nodes in status on or off.
From the client, have the service for reading the counter in any other server node.
From the client, have the service for writing the counter in any other server node.
The features above permit us, from the free android nRF-Mesh app, to create the BLE-mesh network and do the following functions:
1) Control the server nodes, subscribing to them in a group and controlling their LEDs and counters (the present example in IDF)
2) Control the server nodes from the client node.
In this, we want to control any server node in the Mesh network, communicating only with the client node. The client exposes the services like:
a) Green LED (on/off):
switch on and off the green LEDs in any server node in the ble-mesh network.
b) Counter service node "ID1" (read/write)
Read and write the counter in the service node "ID1". Where "ID1" is an identification of one specific service node. It could be its remote address.
b) Counter service node "ID2" (read/write)
b) Counter service node "ID3" (read/write)