Hello Dialog,
There is a small bug in the firmware here:
If a connection is cancelled using "Create Connection Cancel", the connection is correctly cancelled.
However, several of the fields in "LE connection complete" are incorrect in this case.
1) Handle is out of range. Has to be 0x0000-0x0EFF. (BT spec 4.2 page 930). Not 0xFFFF which is also overwriting other bits as handle is only 12 bits.
2) Supervision timeout is out of range, even for failed connection it must be in range. Should be 0x0000 to 0x01F3. Not zero.
3) Connection interval is out of range, even for failed connection it must be in range. Should be 0x0000 to 0x01F3. Not zero.
I have attached a trace showing the problem.
Thanks,
/pedro
Device:
And here is the trace.
Hi Donpedro,
Thank you for posting this question and providing detailed description.
I will look into this and I will get back to you as sson as I have an update for you.
问候
TN_Dialog