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

How to implement selecting one ANT+ master device pair if multiple master deice exist.

Hi,

Our device is slave device with LCD displaying.We need to implement the function as below:

Within range of our slave device, if multiple master device like combined bike speed and cadence senor or speed and distance sensor are found.

They will be displaying on our device to the user asking which device to pair with.

How to implement it.

May I get the related document or apply note even demo code? Thanks.

Now our project is developed base on nRF52832 SDK11.0.0,SD ANT_s332_nrf52_0.9.1.alpha.hex and example demo path: Nordic BLE\nRF5_SDK_11.0.0_89a8197\examples\ant\ant_plus\ant_bsc\bsc_rx\combined

Parents
  • I think you can use background scanning for this.

    We have an example in the SDK, see this.

    Dynastream also have a relevant app note, ANT Channel Search, available here.

  • Hi Petter, Thank you for your comment. for item b, i have got it. But We meet a strange phenomenon. base on ant_background_scanning demo code with softdevice S212 ANT_s212_nrf52_0.9.1.alpha.hex. They are ok for searching master device and pair it. But We move the demo code with softdevice S332 ANT_s332_nrf52_0.9.1.alpha.hex They are fail for searching master device. We can't search any master device. the configure parmaeter are the same. is there the different between S212 and S332 for searching master device? Before, base on S332. auto pairing is ok. Our device need to use BLE and ANT+ protocol.So We develop it base on S332.

Reply
  • Hi Petter, Thank you for your comment. for item b, i have got it. But We meet a strange phenomenon. base on ant_background_scanning demo code with softdevice S212 ANT_s212_nrf52_0.9.1.alpha.hex. They are ok for searching master device and pair it. But We move the demo code with softdevice S332 ANT_s332_nrf52_0.9.1.alpha.hex They are fail for searching master device. We can't search any master device. the configure parmaeter are the same. is there the different between S212 and S332 for searching master device? Before, base on S332. auto pairing is ok. Our device need to use BLE and ANT+ protocol.So We develop it base on S332.

Children
No Data
Related