2023-12-15 03:10 AM
I'm trying to connect to a WPA-Enterprise network (EAP-TLS) with the STWINBX1 board. And in this context, I have several questions about
about using the mx_wifi driver.
I'm basing my project on the Nx_WebServer and Nx_MQTT_Client examples from the STM32Hotspot repo.
The mx_wifi driver (v2.3.4) seems to include functions and structures for connecting to an enterprise WPA network.
However, when using them, it seems that the certificate is too large to be transmitted (2167 bytes for a limit of 1500).
This limit is set in mx_wifi_conf.h by MX_WIFI_BUFFER_SIZE. Its value can be increased
by increasing that of MX_WIFI_MTU_SIZE, but this leads to runtime errors. Another solution could be to unable the bypass mode, but doing so leads to compilation errors in the mx_wifi.c file.
Is there a middleware like nx_driver_emw3080.c that supports WPA-Enterprise authentication?
Should bypass mode be removed for this use case?
If not, should the MX_WIFI_MTU_SIZE value be modified? If so, what other changes need to be made to the program to prevent it from crashing?
HAve a nice day