I'm using SDKv2.40.00.32.
I have got 2 problems after changing SlaveLatence to 47.
Problem.A: GATT write/read was very slow after I changed SlaveLatency=47. This problem does not occur in notification (peripheral to central).
The other configurations are:
- ConnInterval=100 (0.125 sec)
- ConnTimeout=1250
The response from peripheral will be : 0.125 sec * (47 + 1) = 6.0 sec
It seems that GATT write is influenced by it.
Could you let me know how to reduce the delay?
Problem.B: Connection event period is changed when the central device executes GATT Read/Write.
In the case of configuring
- ConnInterval=100 (0.125 sec)
- SlaveLatency=47
GATT write/read does not causes connection event 6.0 sec but 0.125 sec, 3.625 sec .....
It also appears in the case that peripheral notifies to central.
They can be reproduced with the attached files.
* steps to reproduce
1)push right SW to discover
2)push left SW to select
push right SW to connect
---> connection event was received every 1.0 seconds. (it is shown to a peripheral's terminal screen)
it was received every 1.0 sec
3)push left SW twice, 'Connection Update' is shown.
push right SW
---> connection event was received every 6.0 seconds. (it is shown to a peripheral's terminal screen)
4)push left SW sometimes, 'GATT Read/Write' is shown.
push right SW
---> A:This GATT Read/Write operation is very slow. (its response is shown to a central's terminal screen)
This was not occured if I didn't change SlaveLatency.
---> B:Connection event period is changed to not 6.0 seconds.
Best Regards,
Satoshi Shinohara