The driver for the ESP32 WiFi module

The ESP32 WiFi driver for Mbed OS

The Mbed OS driver for the ESP32 WiFi module.

Firmware version

How to write mbed-os compatible firmware : https://github.com/d-kato/GR-Boards_ESP32_Serial_Bridge

Restrictions

  • Setting up an UDP server is not possible
  • The serial port does not have hardware flow control enabled. The AT command set does not either have a way to limit the download rate. Therefore, downloading anything larger than the serial port input buffer is unreliable. An application should be able to read fast enough to stay ahead of the network. This affects mostly the TCP protocol where data would be lost with no notification. On UDP, this would lead to only packet losses which the higher layer protocol should recover from.

Revision:
1:5d78eedef723
Parent:
0:92d12d355ba9
--- a/ESP32InterfaceAP.h	Fri Jun 29 06:17:38 2018 +0000
+++ b/ESP32InterfaceAP.h	Mon Jul 02 02:21:21 2018 +0000
@@ -33,17 +33,19 @@
      * @param tx        TX pin
      * @param rx        RX pin
      * @param debug     Enable debugging
+     * @param rts       RTS pin
+     * @param cts       CTS pin
      * @param baudrate  The baudrate of the serial port (default = 230400).
      */
-    ESP32InterfaceAP(PinName en, PinName io0, PinName tx, PinName rx, bool debug = false, int baudrate = 230400);
+    ESP32InterfaceAP(PinName en, PinName io0, PinName tx, PinName rx, bool debug = false,
+                     PinName rts = NC, PinName cts = NC, int baudrate = 230400);
 
     /** ESP32InterfaceAP lifetime
      * @param tx        TX pin
      * @param rx        RX pin
      * @param debug     Enable debugging
-     * @param baudrate  The baudrate of the serial port (default = 230400).
      */
-    ESP32InterfaceAP(PinName tx, PinName rx, bool debug = false, int baudrate = 230400);
+    ESP32InterfaceAP(PinName tx, PinName rx, bool debug = false);
 
     /** Set a static IP address
      *