Hi,
Device: NRF53
I'm trying to send 3 notify packets in a 15ms connection internal but I can send 2.
I'm using Nrf connect and Zephyr. is there a limit or a define to set this.
Thank you for any guidance and help
Regards
Hi Neil,
Simon is on vacation so I'm taking over the case.
Could you please explain a little bit more on what you did to " have to sleep for 30ms in the thread to enable this to happen, "
If you keep calling the notification send which error do you have ?
Note that when you change the buffer configuration make sure you reflash the network core. This is not done automatically if you flash using SES.
Do you need to send notification in separate packets ? If you always send 3 notifications per connection interval , can you combine them into one notification with longer payload ? If you have control over both sides of the connection , you can assign a larger ATT_MTU and update the data length to get bigger radio packet.
Hi Hung Bui,
Thank you for picking this up. The ultimate aim is to send160 bytes per notification packet three times per 15ms connection interval and this needs to happen every connection interval untill the user stops the device.
I can send two packets but not three, I don't get any errors returned.
As mentioned above Simon and I have used the uart example to test this. I can send 3 notifications in a loop within one connection interval if I wait for a delay of at least one connection interval in-between. Once a shorter delay is used it reverts to only two packets for connection interval. I've tested this using the nrf sniffer. If you need any more explanation please ask.
Kind regards
Neil
Hi again Neil,
Could you send a sniffer trace ?
Could you show how you send the notification in your code ? With and without the delay.
Which firmware you use on the central side ?
Would be nice if you can provide some minimal code so that I can test here (on both sides)