I am trying to create a BR/EDR header and verifying with the Wireshark using the Link-Header type (255) of PCAP dump.
As per the Bluetooth core specification: Bit ordering for BR/EDR packets is LSB first format. Refer: Bluetooth core specification v5.1 Vol 2, PART B, Section 6.2.
I tried to send following bits as BT packet header and generated a PCAP file:
ltAddr = [1; 1; 0];
packetType = [1; 1; 0; 0];
flow = 1;
arq = 0;
seq = 1;
btManualHeaderSpec = [ltAddr;packetType;flow;arq;seq;zeros(8,1)]; % As per the spec
btManualHeaderWireShark = [zeros(8,1);seq;arq;flow;packetType;ltAddr]; % Working in Wireshark
Note: Passed zeros as HEC
When i pass the btManualHeaderSpec pattern, Wireshark is unable to decode:
But when i passed the btManualHeaderWireShark, Wireshark successfully decoded:
I am confused. can somebody help me to understand this behavior? Is it the problem with Wireshark or my understanding of the spec?