You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HCIClass::handleEventPkt (the whole else if statement did nothing)
L2CAPSignalingClass::handleSecurityData (one initialization should be inside of BLE_TRACE)
BluetoothCryptoToolbox::f5
BluetoothCryptoToolbox::testAh
BluetoothCryptoToolbox::testg2
Uninitialized variable in L2CAPSignalingClass::handleSecurityData (fixed by Fix warnings #302)
Unenumerated case in ArduinoBLE/src/utility/HCI.cpp
I have a PR ready for fixing most of these warnings (all except the last one) in https://github.com//pull/302, but I haven't had luck getting any traction on getting that reviewed
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
This is still incomplete, there is also the unenumerated case in ArduinoBLE/src/utility/HCI.cpp, if someone can tell me what does 0x0A means in that file, I'll create a PR for it
Issue "Unenumerated case in ArduinoBLE/src/utility/HCI.cpp" not fixed . Depending on the Preferences "Compiler warnings" set to All or More there is an error message:
f:\Projects\Arduino\libraries\ArduinoBLE\src\utility\HCI.cpp: In member function 'virtual void HCIClass::handleEventPkt(uint8_t, uint8_t*)':
f:\Projects\Arduino\libraries\ArduinoBLE\src\utility\HCI.cpp:991:7: error: case value '10' not in enumerated type 'LE_META_EVENT' [-Werror=switch]
case 0x0A:{
^~~~
cc1plus.exe: some warnings being treated as errors
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
ArduinoBLE/src/utility/HCI.cpp
I have a PR ready for fixing most of these warnings (all except the last one) in https://github.com//pull/302, but I haven't had luck getting any traction on getting that reviewedIf 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
The text was updated successfully, but these errors were encountered: