Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

WiFi wl_enc_type enum update

Open JAndrassy opened this issue 1 year ago • 2 comments

the wl_enc_type enum is from the first Arduino WiFi library and is part of the Arduino WiFi API. It is updated in newer WiFi libraries by Arduino.

JAndrassy avatar Mar 31 '24 12:03 JAndrassy

Not upstream everywhere, yet https://github.com/arduino/ArduinoCore-renesas/blob/3dd08de860915a3577c232d3c0c2a66d33e04df7/libraries/WiFiS3/src/WiFiTypes.h#L20-L32 UNO R4 deployed these

Still pending for older cores https://github.com/arduino-libraries/WiFi101/pull/350 https://github.com/arduino-libraries/WiFiNINA/pull/259

I would guess this should be ok here, actively saving from undefined enum errors and architecture ifdefs

mcspr avatar Mar 31 '24 16:03 mcspr

the other WiFi library in the Renesas Core has the enum here https://github.com/arduino/ArduinoCore-renesas/blob/3dd08de860915a3577c232d3c0c2a66d33e04df7/libraries/lwIpWrapper/src/CNetIf.h#L73

in Arduino's Mbed Core my PR with this was already merged. https://github.com/arduino/ArduinoCore-mbed/pull/776

JAndrassy avatar Mar 31 '24 18:03 JAndrassy