Sending Multiple Notifications

adam_ohara
Posts: 3
Joined: Thu Jun 07, 2018 2:13 pm

Sending Multiple Notifications

Postby adam_ohara » 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

chegewara
Posts: 533
Joined: Wed Jun 14, 2017 9:00 pm

Re: Sending Multiple Notifications

Postby chegewara » Mon Jul 16, 2018 9:21 pm

Hi,
notifications does not require acknowledging, you have indications for that (its notify with ack). You can try to change mtu from client device if its possible. It will be better because sending notifications takes some time, its latency between each message sent by device.

Return to “ESP32 IDF”

Who is online

Users browsing this forum: Google [Bot] and 15 guests