This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to change the peripheral depends on battery level?

Hello All,

We have One central device and four peripheral devices. From every peripheral device we are transmitting battery level.

I want to change the peripheral or want to connect to other peripheral when the battery level of connected peripheral goes goes below threshold value.

currently I am trying with HRS central code and Nordic SDK14.1 Can you please guide me on the same.

Best Regards, Hrushi

Parents
  • Hello Peter,

    I have one central device running HRS central code and four peripheral devices running HRS peripheral code.

    Now my central is connected to one peripheral and that peripheral is sending battery level and HRS readings.

    Now I want to disconnect that peripheral if the battery level of that peripheral goes below 20% and connect to another peripheral

    Please guide me on how to disconnect from that device and connect to another peripheral.

    Best Regards, Hrushi

Reply
  • Hello Peter,

    I have one central device running HRS central code and four peripheral devices running HRS peripheral code.

    Now my central is connected to one peripheral and that peripheral is sending battery level and HRS readings.

    Now I want to disconnect that peripheral if the battery level of that peripheral goes below 20% and connect to another peripheral

    Please guide me on how to disconnect from that device and connect to another peripheral.

    Best Regards, Hrushi

Children
No Data
Related