Hi, There
Wondering someone can help to enlighten me on where hci packet type bit
is reversed for change connection packet type command (issued by
hcitool) for EDR mode, based on the below hcidump, seems 0x2000 is
passed down (which should be 0x1306), however, return message ptype
0x1306 is correct even decoding is not right.
Thanks/Quinton
ot@localhost btsco]# hcidump -V
HCI sniffer - Bluetooth packet analyzer ver 1.32
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
handle 1 ptype 0x2000
Packet type: 3-DH5
HCI Event: Command Status (0x0f) plen 4
Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
HCI Event: Connection Packet Type Changed (0x1d) plen 5
status 0x00 handle 1 ptype 0x1306
Packet type: 2-DH1 2-DH3 2-DH5 3-DH1 3-DH3
HCI Event: Command Status (0x0f) plen 4
Unknown (0x00|0x0000) status 0x00 ncmd 2