Copyright © Shenzhen Rakwireless Technology Co., Ltd
ETDX1602241830
51
RAK477 Instruction Manual
For example:
at+send_data=0,0,0,4,ABCD\ r\n----------- send 4bytes of data to the
connection with the identifier of 0, the data content is “ABCD”.
Instruction for returned value
Parameter
Format
Length(b
yte)
Instruction
The command is successfully carried out
OK
ASCII
2
The data was sent successfully
\r\n
ASCII
2
End character
The command is unsuccessfully carried out
ERROR
ASCII
5
Data transmission failed
<CODE>
HEX
1
0XFE=-2
Indicated socket is not
existed
0XFD=-3
the data is sent by
mistakes
\r\n
ASCII
2
End character
Remark
4.8.2
Receive data
Command
at+recv_data=<uuid>,<dest_port>,<dest_ip>,<data_length>,<data_stream>\r\n