Hello, we are semi-experienced with Nordic,
We are doing a DC power driver, during operation we do a NUS data send if we are connected and the NUS has started. When we get to extreme radio range the NUS data send causes a fatal error, and the only way to restore the system is with a power reset, not an option for production.
We are porting over a project to Nordic and cannot find a way to duplicate a command from the old data set. In that code space you had a function call that was used to detect if the BLE stack was really connected or if it was unstable. It was a BLE stack status check and if it did not report a good connection, we would not try to send, and never had this issue.
Is there any function or call that can truly validate that the stack can take a NUS data send, so it does not fatally crash. I have considered RSSI but that is unreliable as there can be other reasons for the RSSI to change. I saw a connection count call mentioned in a post, but need to better understand that count and what the data means, to determine if it will solve this issue.
We are using an 805 module
We are on SDK nRF5_SDK_17.0.2_d674dde
Soft device s112
This is preventing us from production release so please take this seriously,
Herb