Cinterion
®
EHS6 AT Command Set
10.15 Examples of how to Configure and Use Internet Service Profiles
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 271 of 513
10.15.7
Socket Client Sends Data via TCP Connection with URCs
The example uses service profile 0 configured for Socket service and TCP.
10.15.8
UDP Scenario
The following example shows a communication between a UDP endpoint (host 1) and a UDP client (host 2).
Part 1 of the example refers to the UDP endpoint and shows the configuration which allows the UDP endpoint to
communicate with any UDP client.
Part 2 shows the settings of a UDP client.
Part 3 and 4 are running in parallel: Part 3 shows the procedures on the UDP endpoint side done when commu-
nicating with a UDP client. Part 4 shows the equivalent steps done by the UDP client when communicating with
the UDP endpoint.
Part 1 - host 1 is configured for use as UDP endpoint:
Part 2 - host 2 is configured for use as UDP client:
^SISI: 0,6,0,20,20,0
The Service is in state "Down" and all data is con-
firmed by the remote peer.
OK
AT^SISC=0
Closing the Socket service.
OK
AT^SISO=0
The host opens service profile 0.
OK
^SISW: 0,1
Socket service is ready for upload.
AT^SISW=0,10
The host requests to write 10 bytes.
^SISW: 0,10,10
Response that 10 bytes can be sent and are unac-
knowledged.
0123456789
OK
^SISW: 0,1
The URC indicates that the Socket service is ready
to transfer more data. Data of the last AT^SISW
command are transferred to the remote host.
AT^SISW=0,10,1
The host requests to write next 10 bytes and enables
the
to notify that these are the last 10
bytes of the session.
^SISW: 0,10,20
Response that the service accepts 10 bytes and this
data and the previously sent data are unacknowl-
edged.
0123456789
OK
------
Waiting for URC.
^SISW: 0,2
Data transfer has been finished.
AT^SISC=0
Closing the Socket service.
OK
AT^SISS=0,srvtype,socket
Select service type Socket.
OK
AT^SISS=0,conid,1
Select connection profile 1.
OK
AT^SISS=0,address,"sockudp://:6666"
Specify the local UDP port.
OK