Is there an event that I can hook into that fires when the soft device has finished it's connection and negotiation with the phone and is ready to send data to the phone ?
Basically, what I'm trying to achieve is the following:
- Device is asleep and wakes up every xx minutes
- Device initiates advertising
- Phone with Uart App running connects to device
- Device fires event that tells device application that it can send data. (This is where I'm stuck)
- Device goes back to sleep after phone confirms data received.