CYBT-423028-02 Unknown HCI Command 0x204e

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JoOr_4004241
Level 3
Level 3
25 sign-ins 10 replies posted 5 replies posted

I am using a CySmart BLE 4.2 dongle to detect and connect to my CVBT-42302802 module. I am using BTSpy.exe and ClientControl.exe with the appropriate trace messaging in my WICED application configured for WICED_ROUTE_DEBUG_TO_WICED_UART. When the CySmart dongle requests pairing, I get the following messages at the end of the pairing process.

14:15:25.541 SENT [1] Command to HCI.  Name: HCI_LE_Add_Device_To_Resolving_List_Command   (Hex Code: 0x2027  Param Len: 39)

14:15:25.541                        Peer address type : Public (00)

14:15:25.541                             Peer address : 00-a0-50-50-43-20

14:15:25.541                                 Peer irk : 73 46 13 95 95 c0 b4 1e 49 7b bd e3 65 f4 2d 0a

14:15:25.541                                Local irk : 08 4e 9d 21 4c e2 6c 35 8c 4e 47 4d 3e 9f d1 9c

14:15:25.543 RCVD [1] Event from HCI.  Name: HCI_Command_Complete   (Hex Code: 0x0e  Param Len: 4)

14:15:25.543                      Num HCI Cmd Packets : 1 (0x01)

14:15:25.543                                 Cmd Code : 0x2027  (HCI_LE_Add_Device_To_Resolving_List_Command)

14:15:25.543                                   Status : Success (0x00)

14:15:25.545 SENT [1] Command to HCI.  Name: ?? Unknown ??   (Hex Code: 0x204e  Param Len: 😎

14:15:25.545 Error - Unknown HCI command: 8270 [0x204e] Length: 8

14:15:25.545                               Parameters : 00 20 43 50 50 a0 00 01

14:15:25.545 RCVD [1] Event from HCI.  Name: HCI_Command_Complete   (Hex Code: 0x0e  Param Len: 4)

14:15:25.545                      Num HCI Cmd Packets : 1 (0x01)

14:15:25.545                                 Cmd Code : 0x204e  (?? Unknown ??)

14:15:25.545 Error - Unknown HCI command: 8270 [0x204e]

What is command 0x204e? I can't seem to find any documentation on this command.

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

0x204e is the LE Set Privacy Mode Comand. You can find the command details in the Core_v5.0 vol2, Part E, 7.8.77.

Or you can also find it in the CyBluetool CyBluetool (Windows Installer)

View solution in original post

0 Likes
4 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

0x204e is the LE Set Privacy Mode Comand. You can find the command details in the Core_v5.0 vol2, Part E, 7.8.77.

Or you can also find it in the CyBluetool CyBluetool (Windows Installer)

0 Likes

Thank you for answering my question, Owen. So, what is reporting the Set Privacy Command as "Unknown"? Is it the BTSpy/ClientControl software or the CYW20719 module?

0 Likes

The BT Spy capture the HCI command between the host and the controller, then try to analyse it. The "Unknown" is caused by the BTSpy software.

Thank you once again, Owen. I very much appreciate your prompt replies.

0 Likes