There is a requirement to construct a read request-response mechanism in the application.
The mechanism is as follows -
- Client requests READ on a Custom BLE characteristic.
- Server RSL10 receives the READ request.
- Performs a certain set of activities necessary to prepare READ response on the characteristic.
- After a few seconds of delay, constructs a READ response and shares it back to Client over the custom characteristic.
I have seen an implementation in another controller, using kernel messages, the BLE task is set to BUSY state - ‘ke_busy’ until the operation within the application is completed.
How to construct the above described READ request-response in “peripheral_server_sleep” example application.