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

Where to use lib_aci_set_local_data

Hello Nordic Team, i've get my things working and i figured out how i can set service data and to display it in nRF Master Control.

Now i want to CHANGE my service data every 5 seconds for example.

Till now, i've used lib_aci_set_local_data like it is set in BLE-Broadcast example (maybe you open this sketch and see) within part: case ACI_DEVICE_STANDBY:

I tried to use it outside the switch-case, but then i get "You're in a while(1) loop" with ACI D message.

As long as i set it within case ACI_DEVICE_STANDBY: it is working for the first set of data, but then never changes.

How and where do i have to set local data without getting this while(1) error?

Noone here to help?

Parents Reply
  • I think this may be an issue in the original question may be due to SPI wiring as a command that does not exist was tagged with an error. However we did not progress as the additional information requested was not received. Can you post the issue that you see with the debug logs (Can you turn on the debug option in the lib_aci_init and post the ACI message traces that are printed over the Serial ?).

    Post this as a separate question so it will get the right level of attention.

Children
No Data
Related