Can you help me?
I'm working on the Security TAG firmware and I need to control an LED to indicate when the TAG is paired or not with a cellphone.
I am using the "AppIsDeviceBonded ()" function to trigger an LED. The goal is to make the LED light up when the TAG is not paired and turn off when paired.
When I turn the TAG on, the LED immediately turns on and when I do the pairing with a cell phone, it turn off, but when I undo the pair, it does not light anymore. Even if I turn the TAG off, it does not turn on again.
extern void TagHwDataInit(void)
/* Delete button press timer */
button_press_tid = TIMER_INVALID;