Integrating MicroOCPP on STM32F446RE Without Built-in Wi-Fi
Hello, and thank you for this fantastic library! I am currently working on integrating MicroOCPP on an STM32F446RE Nucleo board. However, the STM32F446RE does not have built-in Wi-Fi capabilities like the ESP32. To provide networking functionality, I plan to use an ESP32-C3 development board as a Wi-Fi interface.
Context
I am working on integrating MicroOCPP on an STM32F446RE Nucleo board, which lacks built-in Wi-Fi capabilities. To enable networking, I plan to use an ESP32-C3 as a Wi-Fi interface. The STM32F446RE will handle the MicroOCPP stack, WebSocket communication, and TLS encryption, while the ESP32-C3 will act as a simple Wi-Fi-to-UART bridge.
Plan
-
STM32F446RE:
- Runs the MicroOCPP library.
- Uses MbedTLS for TLS and Mongoose for WebSocket communication.
- Communicates with ESP32-C3 over UART.
-
ESP32-C3:
- Acts as a Wi-Fi bridge.
- Establishes Wi-Fi connection and forwards TCP/WebSocket data to/from the STM32.
Questions
- Are there challenges when porting MicroOCPP to STM32F4 without native networking?
- Is using ESP32-C3 as a Wi-Fi-to-UART bridge a feasible approach, or do you suggest alternatives?
- Are Mongoose and MbedTLS suitable for WebSocket and TLS on STM32F4, or would you recommend other tools?
Request
Looking forward to your guidance or any suggestions to optimize this approach. Thank you for this fantastic library!