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 227
CIPSEND
Brian Tristam Williams edited this page Aug 23, 2020
·
5 revisions
Type | Instruction | Response | Function |
---|---|---|---|
Set | AT+CIPSEND=length | SEND OK | Set length of the data that will be sent. For normal send (single connection). |
Set | AT+CIPSEND=id,length | SEND OK | Set length of the data that will be sent. For normal send (multiple connection). |
Execute | AT+CIPSEND | Send data. |
After command is executed “>” is returned to indicate 'ready to accept data of specified length'.
Send data of designated length. When data length defined by length is met, the transmission of data starts. If the connection cannot be established or gets disrupted during data transmission, the system returns: ERROR
If data is transmitted successfully, the system returns: SEND OK
Parameter description:
id: ID no. of transmit connection
length: data length, MAX 2048 bytes
Depends on transmission mode (AT+CIPMODE). Enters transparent transmission, 20ms interval between each packet, maximum 2048 bytes per packet. When single packet containing “+++” is received, it returns to command mode.