This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

advertising a counter to the nRF Beacon App

Hello, I'm new in programming beacons and ble sofware. I'm using the nRF51822 Beacon with S110 and the USB Dongle. I updated the beacon with the example ble_app_beacon via MCP and I can find the beacon with the nRF Beacon App. So far so fine. Now I want to change the displayed MAJOR and MINOR values using a counter in the main-loop. In the developerZone i found, that it is best to use "ble_advdata_set()". But for me it doesn't work. I comented out the part where the beacon adress is written into the flash (in the function beacon_params_default_set()). Now the displayed values are taken from the defines APP_DEFAULT_MAJOR_VALUE and APP_DEFAULT_MINOR_VALUE. But I cannot change them in main-loop. Can anybody help me?

Related