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

How to handle LED blinking when advertising and LED flash when button is pressed;

Hi,

I am a newbie to nrf, I am trying to understand the lbs example while running on nrf dev board. I want to set my application as follows:

  1. Blinking LED while advertising
  2. sending data packet when button pressed with LED indication (flash)

Please suggest the main functions to handle for this application.

Thanks.

Parents Reply
  • Dear Øyvind, Thanks. I checked the radio_notification example, Its quiet well explained for advertising in case of beacon. I tried to use it in my lbs application but in-case when I get connected state (nRF<-----> phone), led blinking is not off. I wish to get ,,,in connected state, led blinking should be off and once disconnected, again start blinking, indicating advertisement. How can I implement this.

    Also should I use BSP_INDICATE_ADVERTISING or RADIO_NOTIFICATION. Please clear. Thanks

Children
No Data
Related