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

Is it possible to develop a normal connectable BLE device with beacon advertising?

Hi, I just want to know, Is it possible to develop a device that advertise normally and be connected by mobile, but the device must always send the eddystone-format advertising packet at the same time? In the other words, I am developing a normal BLE device(advertisable, connectable) and I hope the device always send the beacon advertising even the device is advertising or connecting. How should I do? I am using PCA10040(nRF52832). Thanks a lot.

  • FormerMember
    0 FormerMember

    Yes, it is possible to have a device that always advertise a beacon packet, and advertises normally. To do so, the advertised beacon packet has to be advertised using the timeslot API.

    In SDK 11, we have an example, experimental_ble_app_multiactivity_beacon, that shows how have an advertiser that runs concurrently with the heart rate application. There is only a nRF51 version of the example. However, the principle will be the same for nRF2.

  • Thanks a lot. I refered this example and I have implemented the function.

  • It would be really helpful to have a similar example for nRF52 using SDK14. It's not clear how to integrate the nRF51/SDK11 code into my nRF52/SDK14 application.

  • Would it be possible for you to change the advertised data using sd_ble_gap_adv_data_set while advertising. And after connecting, just start another advertisement session with the beacon data? Or is using timeslots a requirement?

    Anyway, maybe you should create a new question as this is related to SDk14?