MLB-G3002 Terminal User Guide
53
Rev 1.1
5.6.8 AT^SISR Internet Service Read Data
AT^SISR=
<srvProfileId>
,
<reqReadLength>
^SISR:
<srvProfileId>
,
<cnfReadLength>
[,
<remainUdpPacketLength>
[,
<Udp_RemClient>
]]
Number of data bytes are sent as specified by <cnfReadLength>. If peek operator was used no data bytes are
sent.
Unsolicited Result Code
^SISR:
<srvProfileId>
,
<urcCauseId>
Data availability status of the Internet service configured with AT^SISS has changed. The URC is issued when:
• data is available after opening an Internet service or
•
less data was confirmed (in <cnfReadLength>) than requested (with <reqReadLength>) during the last "Read
Data" operation and new data is available
.
< srvProfileId >
(num)
<srvProfileId> 0 ... 9 specified with AT^SISS. Transparent TCP Listener services are not supported.
< reqReadLength >
(num)
0
Peek Operator: Query number of received bytes within internal buffers.
The behaviour of the peek operator depends on the selected Internet service, i.e. it may not
be supported by all IP Services.
For "Socket" service configured for UDP the size of the next available UDP packet is returned.
1...1500
Requested number of data bytes to be read via the Internet service specified in <srvProfileId>.
-2
Indicates end of data. Data transfer has been finished (all data have been read) and the
service can be closed with AT^SISC.
-1
Applies only to HTTP: Querying number of available bytes is not supported by the HTTP
service.
0
Indicates that no further data is available at the moment.
>0
Number of available data bytes. The range is determined by <reqRead-Length>:
If <reqReadLength> was greater than 0, then <cnfReadLength> may be less or equal to the
value requested with <reqReadLength>.
If <reqReadLength> equals 0 (peek operator) the value indicated by <cnfReadLength> may
be greater than 1500.
Содержание MLB-G3002
Страница 57: ...MLB G3002 Terminal User Guide 57 Rev 1 1 Notes...
Страница 58: ...MLB G3002 Terminal User Guide 58 Rev 1 1...