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.

Parents
  • 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/.../

Reply
  • 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/.../

Children
No Data
Related