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

Immediate Alert not working?

Hi,

I just started on developing on the nrf51-DK. I started with blue_app_proximity, and I am trying to hack the immediate alert to do a toggle a led. I initialize the GPIO, and test the method works, I put nrf_gpio_pin_toggle in alert_signal method. However, I cannot hit alert_signal no matter what. I am connecting to the board using iOS's light blue. I tried to write 0x1, 0x2 to Alert_level in both Immediate Alert and Immediate Alert service. And nothing happen, no led light toggle and hit break point is being hit in alert_signal and on_ias_evt.

I am wondering if any of you guys have the same problem. P.S. I am using nrf51-DK with SDK 8.0 and iOS 8.3 with lightblue.

Thanks.

  • I just tested this with LightBlue on iOS 8.3. It isn't working perfectly, but if I connect and trigger a pairing(bonding) request I am able write to the Alert Level if i disconnect and then connect again. LightBlue isn't our software, so I'm not sure exactly how it works.

    You could also use the Proximity app in nRF Toolbox to test this. We also have tools for Windows and Android, called Master Control Panel.

Related