This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is it possible to simulate several heart rate sensors with one board ?

Hi,

I'm using nRF51422 with S310 and ble_app_hrs example application. Thus I can simulate a Heart Rate Sensor with the board and get data on an Android phone with the "nRF Toolbox for BLE" application.

Now I would like to simulate 6 Heart Rate Sensors. Is there a way to have one board simulate 6 Heart Rate Sensors ? Or do I need 6 boards ?

Best Regards

  • Could you please elaborate on what you want to achieve? ble_app_hrs is an example application, not a service. What do you mean by parallel? What do you have one the other side of the link? Please edit the question to include the information.

  • I'm still not quite sure I understand what you mean, but I'll try.

    You can simulate six heart rate sensors on the nRF51422, these are just 6 numbers.

    It should be possible to send this data from the peripheral device (nRF51422) to the central device (Android phone).

    You can create your own service that contains all the heart rates, or you can use six standard heart rate services.

    The app on the Android phone needs to be modified to work with six sensors, as the Heart Rate app only supports one.

    Edit: One board cannot simulate multiple peripheral devices, our SoftDevice supports a maximum of 1 peripheral link.

  • Thanks for your reply.

    I understand what you are saying indeed I can add 6 heart rate services but that's not what I want.

    Simply put I want to simulate 6 physical heart rate sensors with only one board. Meaning that the board can simulate multiple peripheral devices thus advertise multiple device names, accept multiple connections, etc...

    After doing some research I think it's not possible because the BLE stack can only have one peripheral link.

Related