PDU Header 有16bits,其中包含 PDU Type(4bits)+ RFU(1bit)+ ChSel(1bit) +TxAdd(1bit) +RxAdd(1bit)+ Length(8bits),请问我在哪里可以修改这些字段;
非常感谢!!!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
PDU Header 有16bits,其中包含 PDU Type(4bits)+ RFU(1bit)+ ChSel(1bit) +TxAdd(1bit) +RxAdd(1bit)+ Length(8bits),请问我在哪里可以修改这些字段;
非常感谢!!!
PDU Header的格式是spec规定的
The PDU Type field of the advertising channel PDU that is contained in the header indicates the PDU types。
The TxAdd and RxAdd fields of the advertising channel PDU that are contained in the header contain information specific to the PDU type defined for each
advertising channel PDU separately. If the TxAdd or RxAdd fields are not defined as used in a given PDU then they shall be considered Reserved for
Future Use.
The Length field of the advertising channel PDU header indicates the payload field length in octets. The valid range of the Length field shall be 6 to 37 octets.
The Payload fields in the advertising channel PDUs are specific to the PDU Type and are defined in Section 2.3.1 through Section 2.3.3. The PDU Types
marked as Reserved shall not be sent and shall be ignored upon receipt.