Sending Multiple Notifications
Posted: Wed Jun 20, 2018 11:10 am
Hello
I am attempting to emulate a serial connection using a Tx and Rx BLE characteristic. For the Tx, I am attempting to use notifications to send the data to the phone. Initially, I encountered an issue where the packets were too big to send, and received on error on the logs. To get around this, I am trying to split the packets. However, only the first packet ever arrives. I'm guessing I need to wait for a callback before sending the next packet, but I can't see one related to the notification being sent. The conf packet doesn't specify which event was completed, so I don't know when to send the next packet. Does anyone have any ideas?
Adam
I am attempting to emulate a serial connection using a Tx and Rx BLE characteristic. For the Tx, I am attempting to use notifications to send the data to the phone. Initially, I encountered an issue where the packets were too big to send, and received on error on the logs. To get around this, I am trying to split the packets. However, only the first packet ever arrives. I'm guessing I need to wait for a callback before sending the next packet, but I can't see one related to the notification being sent. The conf packet doesn't specify which event was completed, so I don't know when to send the next packet. Does anyone have any ideas?
Adam