Description
When you build the code in this library there are several warnings printed
-
Order member initialization on(fixed by Fix warnings #302)BLELocalCharacteristic
-
Unused variables in:(fixed by Fix warnings #302)-
HCIClass::tryResolveAddress
-
HCIClass::handleEventPkt
(the whole else if statement did nothing) -
L2CAPSignalingClass::handleSecurityData
(one initialization should be inside ofBLE_TRACE
) -
BluetoothCryptoToolbox::f5
-
BluetoothCryptoToolbox::testAh
-
BluetoothCryptoToolbox::testg2
-
-
Uninitialized variable in(fixed by Fix warnings #302)L2CAPSignalingClass::handleSecurityData
- Unenumerated case in
ArduinoBLE/src/utility/HCI.cpp
(would be fixed by merge of fix(HCI): missing LE_Event_Mask #386)
If someone could review that PR most of these things would be fixed.
If someone tells me what 0x0A means in that unenumerated case, I'm happy to add that to the enum as well
Additional context
Additional reports
- Lots of Compiler Warnings - At least if I build for a Teensy 4.1 or Micromod #274
- HCI.cpp:991:7: error: case value '10' not in enumerated type 'LE_META_EVENT' #346