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

  • 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.

  • I don't think there should by any difference. You are checking that no functions are returning any errors? Could you check if you see the same behavior with SDK 12.1? It has support for S332 v2.0.0 (and S212 v2.0.0)

  • I am sure that no functions are returning any error. if there is error, We can review printing error info and halt it. if we have more time, we will move the code to the platform with SDK12.1. But now,We want to verify if it is ok for searching device base on SDK11.0.0 S332 ANT_s332_nrf52_0.9.1.alpha.hex. Thanks.

  • Hi Petter, Thank you for your support. the issue was fixed. The network key cause the issue. Anyway, Thank you very much.

  • Great! Then I would appreciate if you would accept my answer by clicking the check mark next to it.

Related