Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 3 months ago.
nRF suggestion for multiple BLE slave sensors
Hi!
I'm looking for a solution for my project. I want to connect two sensors that work with ble (cadence/speed and heart rate monitor) to an nRF. (later display the values on a screen ect.)
1. How do I achieve reading data from both sensors at the same time using BLE? 2. What is the nRF IC should I use for this application?
Thx!
1 Answer
5 years, 3 months ago.
Hi Silard,
GATTS and GATTC would be the best for this scenario, please find the BLE examples here https://github.com/ARMmbed/mbed-os-example-ble.
On sensor side, they are providing data like a server, so you can use BLE_GattServer project, which is able to provide data to client.
On receiver side, it is receiving data like a client, so you can use BLE_GattClient project, which is able to receive data from server.
There are some proper devices for BLE feature introduced in the README, I would suggest you starting your project by these devices, or you can check our website https://os.mbed.com/platforms/?connectivity=3 for all of the board supported Mbed OS with BLE.
Thanks, Desmond, team Mbed