Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating MicroOCPP on STM32F446RE Without Built-in Wi-Fi #396

Open
kiranj26 opened this issue Jan 19, 2025 · 0 comments
Open

Integrating MicroOCPP on STM32F446RE Without Built-in Wi-Fi #396

kiranj26 opened this issue Jan 19, 2025 · 0 comments

Comments

@kiranj26
Copy link

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

  1. STM32F446RE:

    • Runs the MicroOCPP library.
    • Uses MbedTLS for TLS and Mongoose for WebSocket communication.
    • Communicates with ESP32-C3 over UART.
  2. ESP32-C3:

    • Acts as a Wi-Fi bridge.
    • Establishes Wi-Fi connection and forwards TCP/WebSocket data to/from the STM32.

Questions

  1. Are there challenges when porting MicroOCPP to STM32F4 without native networking?
  2. Is using ESP32-C3 as a Wi-Fi-to-UART bridge a feasible approach, or do you suggest alternatives?
  3. 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant