5.2.2.6
140B164B164B164B
AT+SKSND
Function
:
Send data through the specified socket and return when it is over.This command send
binary data, User should send original data after receiving the reOK) of module.
Module automatically exits transmition after receiving the data of specified length and send
data to the network, the redundant date will be rejected.
Otherwise,module will be forced to
constrainedly exit transmition mode and send the data has been received to the network
when the module has waiting for timeout period(1 second).
Format
:
AT+SKSND=
<socket>,<size>
<CR>
+OK=
<actualsize>
<CR><LF><CR><LF>
[data steam]
Parameter
:
socket
means socket number
size
means the size of the data which prepare to be send, its unit is type.
actualsize
means the size of the data which actually is send, its unit is type.
data steam
means original data.
5.2.2.7
141B165B165B165B
AT+SKRCV
Function
:
Read data form RX buffer of the target socket ,and return after hasing finished. After
receiving this command and sending the reOK) is over ,module will transmit the
data of specified size in binary format
Format
:
AT+SKRCV=
<socket>,<maxsize>
<CR>
+OK=
<size>
<CR><LF><CR><LF>
[data stream]
Parameter
:
socket
means socket number
maxsize
means maximal data size allows to receive
size
means actually size of the receiving data
data steam
means original data
Содержание HLK-WIIF-M04
Страница 15: ...4 Then click search modules as shown below...
Страница 56: ...figure5 16 query the receiver buffer figure5 17 socket receiving...
Страница 62: ...figure5 23 instruction test...