Hi all,
this is my first project with nordic and ble, hence, I feel a little bit lost and overwhelmed with all the new function and callbacks used in the ble samples.
Therefore, I would like to ask, how I could design my use case best and which samples could help me writing the code.
The idea is really simple, the environment consist of a single "sensor" and multiple "actors". Because I am still sure if it's better to use a single central with multiple peripherals or vise-versa, I will use the terms "sensor" and "actor". So the sensor will use the ADC to identify either high or low voltage ('1' or '0' is enough) and should propagate this information to the actors. Depending on the value of the sensor, the actor will change it's state. Hence, a single byte value exchanging between the sensor and actors would be sufficient, because I could represent 255 different states with it.
After hunting down several BLE and zephyr documentations, I am still not sure if I should use multiple peripherals and a single central instance and write to the GATT. Or use a peripheral which advertises multiple and therefore allow multiple centrals to connect. Which one makes more sense in regard to ble?
Further, are there some good samples available in zephyr or nrf-sdk (connect) can I have a look at? I went through some of them already, but they are somehow difficult to grass. However, {central,peripheral}_uart was quite nice because this signaled that we can push data from a central to a peripheral.
Thanks in advise