EasyManuals Logo

Gemalto Cinterion EHS6 User Manual

Gemalto Cinterion EHS6
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #252 background imageLoading...
Page #252 background image
Cinterion
®
EHS6 AT Command Set
10.8 AT^SISR
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 252 of 513
10.8.1 Example: Socket Host Reads Small Amounts of UDP Data Pack-
ets (URC Mode)
This section applies only to the Socket service using the UDP protocol. The example shows how to read UDP
packets if the buffer of the host application can handle only a few bytes. There are two datagrams available for
reading.
Buffer size: 6 bytes
Datagram A = 18 bytes (content "THIS_IS_DATAGRAM_A")
Datagram B = 3 bytes (content "NEW")
^SISR: 0,1
Service profile 0 is configured for Socket service and UDP. The URC
notifies host that data is available for reading.
at^sisr=0,6
The host requests to read 6 bytes.
^SISR: 0,6,12
THIS_I
The first 6 bytes of datagram A are confirmed and transmitted. Another
12 bytes are still available.
OK
at^sisr=0,6
The host requests to read the next part of 6 bytes.
^SISR: 0,6,6
S_DATA
The next 6 bytes of datagram A are confirmed and transmitted. Another
6 bytes are still available.
OK
at^sisr=0,6
The host requests to read the next part of 6 bytes.
^SISR: 0,6,0
GRAM_A
Last part of datagram A was received, no remainder is left.
OK
at^sisr=0,6
Again, the host requests to read 6 bytes. This time, the request refers to
datagram B which has only 3 bytes. As the read datagram is smaller
than the size requested by the host, the response does not include the
<remainUdpPacketLength>.
^SISR: 0,3
NEW
3 bytes are confirmed and transmitted. Datagram B was properly
received.
OK

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Gemalto Cinterion EHS6 and is the answer not in the manual?

Gemalto Cinterion EHS6 Specifications

General IconGeneral
BrandGemalto
ModelCinterion EHS6
CategoryControl Unit
LanguageEnglish

Related product manuals