Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

CIPSTATUS

Brian Tristam Williams edited this page Aug 23, 2020 · 3 revisions

AT+ CIPSTATUS – Information about connection

Type Instruction Response Function
Execute AT+CIPSTATUS STATUS:stat +CIPSTATUS:id,type,addr,port,tetype OK Get information about connection.

Parameter description:

  • stat:
  • 2: Got IP
  • 3: Connected
  • 4: Disconnected
  • id: id of the connection (0~4), for multi-connect
  • type: string, “TCP” or “UDP”
  • addr: string, IP address.
  • port: port number
  • tetype:
    • 0: ESP8266 runs as client
    • 1: ESP8266 runs as server