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

Eddystone beacon example using SDK12.3.0 and s130

I am currently working on a BLE beacon project on nRF51822. Using SDK 12.3.0 and s130. The device has to advertise URL, advertising name and output power level. And these values can be changed through app after connecting. So, I took the ble_app_eddystone example. Now the device is advertising the URL, which is by default www.nordicsemi.com and Tx power. But I am not able to connect to the device since it is non-connectable. How to make it connectable? I tried using nrf_ble_es_on_start_connectable_advertising() function. But still not working. The main aim is to connect with the device and change the values such as URL or advertising name, so that the next time it will advertise with the changed values.

Parents
  • Here you can find the top level documentation for the Eddystone example. It explains in detail how to achieve what you want.

    To enable connectable mode, simply press Button 1 on the PCA10028. Next you can use either nRF Beacon for Eddystone Android app or nRF Connect Android app to modify the advertisement slots.

  • I want my beacon to advertise both device name and URL. But since the advertising packet can contain maximum 31 bytes, I am not able to add both in a single packet. So I tried to add the URL in the scan response packet and device name in the advertising packet. When I am doing that, the device is only advertising the name but no URL. The functions used in the eddystone beacon example are different compared to the other example functions where we can easily add the scan response packet with the adv packet. Is there any way of doing it in the eddystone beacon example? Coz I want my device to advertise both URL and device name.

Reply
  • I want my beacon to advertise both device name and URL. But since the advertising packet can contain maximum 31 bytes, I am not able to add both in a single packet. So I tried to add the URL in the scan response packet and device name in the advertising packet. When I am doing that, the device is only advertising the name but no URL. The functions used in the eddystone beacon example are different compared to the other example functions where we can easily add the scan response packet with the adv packet. Is there any way of doing it in the eddystone beacon example? Coz I want my device to advertise both URL and device name.

Children
No Data
Related