This repository was archived by the owner on Jan 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 228
CIPSTATUS
Brian Tristam Williams edited this page Aug 23, 2020
·
3 revisions
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