Incorrect values in LE Connection Complete over HCI

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
donpedro
Offline
Last seen:3 years 6 months ago
加入:2017-04-10 22:28
Incorrect values in LE Connection Complete over HCI

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:
donpedro
Offline
Last seen:3 years 6 months ago
加入:2017-04-10 22:28
And here is the trace.

And here is the trace.

TN_Dialog
Offline
Last seen:5 days 46 min ago
Staff
加入:2013-12-05 15:49
Hi Donpedro,

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