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

How to connect to one specific master

Hi,

I´m using nRF51822 with my own application and I want to connect just to one specific master device (for example smartphone) after this one is bonded:

  1. nRF51822 wakes up and clears all bonded master
  2. start adervertising
  3. bonding to master
  4. disconnect and store master information ...

How can I make sure that there is no other master device (for example master emulator) is connecting to my device when I´m advertising to my first master device. I´ve also tried direct advertising and advertising with whitelist but it doesn´t work.

Thanks Marcel

Parents
  • Hi,

    I´m using nRF51822 with my own application and I want to connect just to one specific master device (for example smartphone) after this one is bonded:

    1. nRF51822 wakes up and clears all bonded master
    2. start adervertising
    3. bonding to master
    4. disconnect and store master information ...

    How can I make sure that there is no other master device (for example master emulator) is connecting to my device when I´m advertising to my first master device. I´ve also tried direct advertising and advertising with whitelist but it doesn´t work.

    Thanks Marcel

    If you are doing it in this order, then you should make sure you are not trying to connect to the peripheral with the Master Emulator (depending on how you are using it), might as well shut it down. And if it is a smartphone, then you could either turn off the Bluetooth on it, or delete the bond information if you have no intention in retaining it.

Reply
  • Hi,

    I´m using nRF51822 with my own application and I want to connect just to one specific master device (for example smartphone) after this one is bonded:

    1. nRF51822 wakes up and clears all bonded master
    2. start adervertising
    3. bonding to master
    4. disconnect and store master information ...

    How can I make sure that there is no other master device (for example master emulator) is connecting to my device when I´m advertising to my first master device. I´ve also tried direct advertising and advertising with whitelist but it doesn´t work.

    Thanks Marcel

    If you are doing it in this order, then you should make sure you are not trying to connect to the peripheral with the Master Emulator (depending on how you are using it), might as well shut it down. And if it is a smartphone, then you could either turn off the Bluetooth on it, or delete the bond information if you have no intention in retaining it.

Children
No Data
Related