Closed as not planned
Closed as not planned
Description
I'm trying to compile the "scan" example from 1.3.6 on Arduino IDE 2.2.1 and running into a few errors including the following:
~/Documents/Arduino/libraries/ArduinoBLE/src/utility/HCI.cpp:1272:30: warning: missing initializer for member 'HCIClass::handleEventPkt(uint8_t, uint8_t*)::F4Params::Z' [-Wmissing-field-initializers]
~/Documents/Arduino/libraries/ArduinoBLE/src/utility/HCI.cpp:991:7: error: case value '10' not in enumerated type 'LE_META_EVENT' [-Werror=switch]
case 0x0A:{
Looks like a legit error as the enum LE_META_EVENT
(see HCI.h) only has values from 1 to 9 and the switch statement checks for 10.