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

Multi peripheral with 2 different advertising

Hi,

I built a peripheral unit which working on NRF52805 with SDK17 (S113/S112).

The unit needs to be "multi peripheral" and advertise 2 different advertising packets simultaneously:

1) Appel "Ibeacon" (Not connectable) with low transmit power (arround -20db).

2) Regular BLE advertising and allow connection  with (NUS/BAS, etc') which transmit and work in +4 db.

Is it possible?

If YES, How do you suggest to implement that...

If NO, What is the closest implementation i can achieve?

B.r,

Yuval.

Parents
  • Hi Yuval,

    The SoftDevice does not support multiple concurrent advertisers. The most common way to solve this is to regularly change the advertising data. Alternatively you could consider implementing the second advertiser in a timeslot.

  • Thanks for the answer,

    Is it possible to advertise as "Ibeacon" for 1 sec,  after that change the advertisement packet to regular one (With NUS support) for 1 sec and swap between them every 1 sec and also allow connection to it (To the one with the NUS)?  

    Is it possible to continue with advertising as "Ibeacon" only when a phone is connected to the unit (with NUS protocol via the "regular" advertisement") ?

    B.r Yuval.

  • Hi,

    yuval said:
    Is it possible to advertise as "Ibeacon" for 1 sec,  after that change the advertisement packet to regular one (With NUS support) for 1 sec and swap between them every 1 sec and also allow connection to it (To the one with the NUS)?  

    Yes, that is no problem. You need to reconfigure the advertiser every 1 second in this case.

    yuval said:
    Is it possible to continue with advertising as "Ibeacon" only when a phone is connected to the unit (with NUS protocol via the "regular" advertisement") ?

    Yes, this is also no problem. In this case, just ensure that you configure iBeacon advertising once connected, and do not change this until the connection is disconnected.

Reply
  • Hi,

    yuval said:
    Is it possible to advertise as "Ibeacon" for 1 sec,  after that change the advertisement packet to regular one (With NUS support) for 1 sec and swap between them every 1 sec and also allow connection to it (To the one with the NUS)?  

    Yes, that is no problem. You need to reconfigure the advertiser every 1 second in this case.

    yuval said:
    Is it possible to continue with advertising as "Ibeacon" only when a phone is connected to the unit (with NUS protocol via the "regular" advertisement") ?

    Yes, this is also no problem. In this case, just ensure that you configure iBeacon advertising once connected, and do not change this until the connection is disconnected.

Children
No Data
Related