We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cb4823 commit 891142bCopy full SHA for 891142b
1 file changed
src/utility/HCI.cpp
@@ -733,13 +733,13 @@ void HCIClass::handleAclDataPkt(uint8_t /*plen*/, uint8_t pdata[])
733
uint16_t dlen; // dlen + 4 = plen (dlen is the size of the ACL SDU)
734
} *aclHeader = (HCIACLHdr*)pdata;
735
736
- uint8_t bcFlag = (aclHeader->connectionHandleWithFlags & 0xc000) >> 14;
737
uint8_t pbFlag = (aclHeader->connectionHandleWithFlags & 0x3000) >> 12;
738
uint16_t connectionHandle = aclHeader->connectionHandleWithFlags & 0x0fff;
739
740
uint8_t *aclSdu = &pdata[sizeof(HCIACLHdr)];
741
742
#ifdef _BLE_TRACE_
+ uint8_t bcFlag = (aclHeader->connectionHandleWithFlags & 0xc000) >> 14;
743
Serial.print("Acl packet bcFlag = ");
744
Serial.print(bcFlag, BIN);
745
Serial.print(" pbFlag = ");
0 commit comments