Disconnected after receiving the message
Hi, I have problem with ble program. I'm using ble peripheral example and make a few changes like receiving message, give button handler, and send message.
when I send a message to bluetooth from my android, the message is sent properly and run the action correctly. But after a few second, bluetooth disconnected from my android.
Is this caused by sleep? I did not change anything about the sleep module/function. If it is not because sleep, is there any other possibility?
Thank you