![esp8266 firmware source esp8266 firmware source](https://m.media-amazon.com/images/I/71SjLQfsuAL._SL1000_.jpg)
Esp8266 firmware source serial#
Serial: one serial (HardwareSerial or SoftwareSerial) at least.Uint32_t recv (uint8_t *coming_mux_id, uint8_t *buffer, uint32_t buffer_size, uint32_t timeout=1000) : Receive data from all of TCP or UDP builded already in multiple mode. Uint32_t recv (uint8_t mux_id, uint8_t *buffer, uint32_t buffer_size, uint32_t timeout=1000) : Receive data from one of TCP or UDP builded already in multiple mode. Uint32_t recv (uint8_t *buffer, uint32_t buffer_size, uint32_t timeout=1000) : Receive data from TCP or UDP builded already in single mode. String getLocalIP (void) : Get the IP address of ESP8266.īool enableMUX (void) : Enable IP MUX(multiple connection mode).īool disableMUX (void) : Disable IP MUX(single connection mode).īool createTCP (String addr, uint32_t port) : Create TCP connection in single mode.īool releaseTCP (void) : Release TCP connection in single mode.īool registerUDP (String addr, uint32_t port) : Register UDP port number in single mode.īool unregisterUDP (void) : Unregister UDP port number in single mode.īool createTCP (uint8_t mux_id, String addr, uint32_t port) : Create TCP connection in multiple mode.īool releaseTCP (uint8_t mux_id) : Release TCP connection in multiple mode.īool registerUDP (uint8_t mux_id, String addr, uint32_t port) : Register UDP port number in multiple mode.īool unregisterUDP (uint8_t mux_id) : Unregister UDP port number in multiple mode.īool setTCPServerTimeout (uint32_t timeout=180) : Set the timeout of TCP Server.īool startServer (uint32_t port=333) : Start Server(Only in multiple mode).īool stopServer (void) : Stop Server(Only in multiple mode).īool startTCPServer (uint32_t port=333) : Start TCP Server(Only in multiple mode).īool stopTCPServer (void) : Stop TCP Server(Only in multiple mode).īool send (const uint8_t *buffer, uint32_t len) : Send data based on TCP or UDP builded already in single mode.īool send (uint8_t mux_id, const uint8_t *buffer, uint32_t len) : Send data based on one of TCP or UDP builded already in multiple mode.īool sendFromFlash (const uint8_t *buffer, uint32_t len) : Send data based on TCP or UDP builded already in single mode.īool sendFromFlash (uint8_t mux_id, const uint8_t *buffer, uint32_t len) : Send data based on one of TCP or UDP builded already in multiple mode. String getIPStatus (void) : Get the current status of connection(UDP and TCP).
![esp8266 firmware source esp8266 firmware source](https://res.cloudinary.com/webstore/image/fetch/w_500,c_limit,c_fit,f_auto,e_trim/http%3A%2F%2Fluckyretail.com%2FUploadfile%2F202008%2F202011161%2F512407%2F512407-3.jpg)
String getJoinedDeviceIP (void) : Get the IP list of devices connected to SoftAP. String getAPList (void) : Search available AP list and return it.īool joinAP (String ssid, String pwd) : Join in AP.īool leaveAP (void) : Leave AP joined before.īool setSoftAPParam (String ssid, String pwd, uint8_t chl=7, uint8_t ecn=4) : Set SoftAP parameters. Uint8_t getOprMode(void) : Get the operation mode. String getVersion (void) : Get the version of AT Command Set.īool setOprToStation (void) : Set operation mode to staion.īool setOprToSoftAP (void) : Set operation mode to softap.īool setOprToStationSoftAP (void) : Set operation mode to station + softap. Othe.Bool kick (void) : Verify ESP8266 whether live or not.īool restart (void) : Restart ESP8266 by "AT+RST". TACH 8 max (button, movement, gercon, othe).