If <service_type>="TCP" or "UDP", it is the port of remote server.
If <service_type>="TCP LISTENER" or "UDP SERVICE", the port is invalid.
If <service_type>="TCP INCOMING", it is the port of remote client.
<local_port>
Integer type. Local port number. Range: 0–65535.
If <local_port> is 0, then the local port is assigned automatically.
<socket_state> Integer type. Socket service status.
0
1
2
3
4
<serverID>
Integer type. Only valid when <service_type> is "TCP INCOMING". <serverID>
represents which server accepts this TCP incoming connection, and the value is the
same as <connectID> of this server's "TCP LISTENER".
<access_mode> Integer type. Data access mode.
0
1
2
<AT_port>
String type. COM port of socket service.
"usbmodem"
"usbat"
"uart1"
2.2.7. AT+QISEND Send Data
In buffer access mode (<access_mode>=0) or direct push mode (<access_mode>=1), the data can be
sent via AT+QISEND. If the data is sent to the module successfully, SEND OK will be returned. Otherwise
it will return SEND FAIL or ERROR. SEND FAIL indicates the sending buffer is full and the data can be
tried to be resent. ERROR indicates it encounters an error in the process of sending data and the data
should be delayed for some time to be sent. SEND OK does not mean the data has been sent to the
server
successfully.
AT+QISEND=<connectID>,0.
AT+QISEND Send Data
Test Command
AT+QISEND=?
Write Command
Send
variable-length
<service_type> is "TCP", "UDP" or
"TCP INCOMING"
BG96_TCP/IP_Application_Note
"Initial": connection has not been established
"Opening": client is connecting or server is trying to listen
"Connected": client/incoming connection has been established
"Listening": server is listening
"Closing": connection is closing
Buffer access mode
Direct push mode
Transparent access mode
USB modem port
USB AT port
UART1 port
Please
query
whether
Response
+QISEND: (range of supported <connectID>s),(range of
supported <send_length>s)
OK
Response
data
when
>
After the response >, input the data to be sent. Tap Ctrl+Z to
send the data, and tap Esc to cancel the operation.
BG96 TCP/IP Application Note
the
data
has
reached
LPWA Module Series
the
server
by
18 / 52
Need help?
Do you have a question about the BG96 TCP/IP and is the answer not in the manual?
Questions and answers