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

peripheral connection via specific application

Hii,

I have two question regarding advertising and connection

1. Is there any way to hide my peripherals advertising from any other central scanner .

2. Is it possible to connect the peripheral to specific application( ex : nrf_connect )( any other can try to connect, but the action should be denied ).

can we able to achieve this by any other way please let me know

thanks & regards

vijay

Parents
  • Hi!

    1. Enabling direct advertising mode on your peripheral will enable it to advertise directly to a specific scanner. Alternatively, whitelist advertising ensures the peripheral will only advertise to the devices on a whitelist.

    Information about the different advertising modes can be found here.

    Note that a sniffer or similar will have no problem detecting the advertising packets.

    2. It is possible to connect a peripheral to only a specific application, but this has to be handled in the application layer.

    Best regards,

    Heidi

  • hello,

    thank u for valuable reply.

    1. I have implemented whitelist and direct advertising . what i am trying to implement is i need to hide advertising of peripheral from other central .

    2. please can you refer any examples related to it ( or ) the sequence of it.

    Best regards,

    vijay

  • 1. I don't fully understand your question. If you have implemented whitelisting and direct advertising, the advertising packets should be hidden for all other centrals, because the BLE stack will typically filter out directed advertisement packages that are meant for other devices. Perhaps the answer to this post is what you're looking for?

    The advertisement will never be "invisible" because there is no way of only sending radio waves to a specific device. Encrypting the packets is also an option for an additional layer of security.

    2. We don't have any examples of this because it needs to be handled when developing the specific application that you want the peripheral to connect to.

    May I ask what kind of application you are developing? 

    Best regards,

    Heidi

Reply
  • 1. I don't fully understand your question. If you have implemented whitelisting and direct advertising, the advertising packets should be hidden for all other centrals, because the BLE stack will typically filter out directed advertisement packages that are meant for other devices. Perhaps the answer to this post is what you're looking for?

    The advertisement will never be "invisible" because there is no way of only sending radio waves to a specific device. Encrypting the packets is also an option for an additional layer of security.

    2. We don't have any examples of this because it needs to be handled when developing the specific application that you want the peripheral to connect to.

    May I ask what kind of application you are developing? 

    Best regards,

    Heidi

Children
Related