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

I want to develop a beacon that can modify data with smart phone App.

I want to develop a beacon that can modify data with smart phone App.

I'd like to modify the device name, UUID, Mojor, Minor, Tranmission Power,

Advertise Interval etc.

Like this

image description

image description

image description

I plan to use nRF Connect and utilize example(ble_app_beacon).

I'm using nRF51822 rev 2.

I don't know which example to use besides ble_app_beacon example.

What examples should I refer to?

Please help me.

  • I think your device will need to function in two modes. By default, it will be in advertising only (non-connectabe) mode, and when triggered (say by a hardware button press), it will go to a connectable mode. In this second mode, you can have custom GATT characteristics which can be used to communicate your new beacon parameters. Once you are done with the changes, you can use a custom flag characteristic to switch the device back to advertising (beacon) mode without any hardware interaction.

    So your code structure will be a mix of ble_app_beacon and the Nordic example for custom GATT characteristic below.

    devzone.nordicsemi.com/.../

  • Are you planning on doing this for both Android & iOS or for only one of the two operating systems? You could also have a look at the ble_app_eddystone located under examples/ble_peripheral folder in the sdk. Eddystone beacons are an open beacon format developed by Google. Apple, on the other hand, have their own platform called the iBeacon. The eddystone app I believe is unfortunately experimental for the nrf51, but not for the nrf52. What's your progress so far?

Related