Follow up this image. I want to reduce the negotiation time.
10:44:43.655 --> Connected to D6:9E...
10:44:45.123 --> Services Discovered
= 45.123 - 43.655 = 1.468 Sec
I want reduce to 300ms. How can I do?
Thank you in advance.
Follow up this image. I want to reduce the negotiation time.
10:44:43.655 --> Connected to D6:9E...
10:44:45.123 --> Services Discovered
= 45.123 - 43.655 = 1.468 Sec
I want reduce to 300ms. How can I do?
Thank you in advance.
Yes, lowering connection interval is most powerful method in general but as it is controlled by central side you cannot really force it (e.g. most of the phones will drop connection if you try to set values below 20ms through Preferred Connection Parameters). But in case you are owner of peripheral side then hints are obvious:
In the best case you control both sides (HW&FW) and then simply make your GATT stack static on peripheral side, use the lowest connection interval of 7.5ms from central side (unless you need to keep connection with multiple peripherals where such low connection interval doesn't scale - that's the reason why most of the phone OS releases today set default connection interval to 30-50ms and prevent you going below) and hardcode handle numbers of your GATT Services/Characteristics/Descriptors on central side so you can issue GATT commands to them straight after the connection without any discovery.
Cheers Jan
Thank you very much for your reply.
Thank you very much for your reply.