Hi
I've built a HCI USB firmware based on the hci usb example in the nRF Connect SDK for the nRF52840DK. The configuration of the project has been slightly adapter to better support enhanced data length and other features.
/cfs-file/__key/communityserver-discussions-components-files/4/3704.prj.conf
The firmware is used with an own HCI host stack. It is used by an application that emulates a peripheral device.
After the connection is established the application triggers a connection update command "LE Connection Update". The response from the controller is that the provided connection handle is invalid, but the handle is equal to the handle that came with the "LE Enahnced Connection Complete" event.
The full communication with the device can be seen in the attached wireshark log that shows the full HCI communication.
=> /cfs-file/__key/communityserver-discussions-components-files/4/CaptureA.cfa
Timestamp: 0.201 => Connection Established Event
Timestamp: 0.250 => Connection update command
Timestamp: 0.252 => Reject with Unknown Connection Identifier
This failure did not happen when the HCI USB firmware was based on the nRF Connect SDK 1.5.1 and was using the software controller layer.
What can be the reason for this?
Regards Adrian