Hey All,
I'm trying to write to a sever's characteristic directly after I discover it (meaning, the db discovery is still active, and there's a characteristic that still needs processed after it), because I need to write to it with a password in a small time window so the server doesn't drop the connection. After getting the characteristic discovery response, I save off the event data and within the discovery response event I attempt to write to it using sd_ble_gattc_write. I'm wondering if this is allowed, or if the reason I'm causing a fatal error in the application is because the nrf is busy and I'm not handling the exception. I'm using the dongle, so I can't sniff and I'm developing in SES.
Looking for some high-level instruction on using the sd_ble_gattc_write during an ongoing discovery.