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 270 of 513
10.15.6
Non-Transparent Client Sends Data in Polling Mode
The example uses service profile 0 configured for Socket service and TCP.
^SIS: 1,3,1,"10.10.0.187:4100"
URC indicates incoming connect request.
CONNECT
Service enters transparent access mode.
Hello ....
For further handling see examples below, e.g. Sec-
tion
Opening and Closing Transparent
, Section
Client Receives Data While in AT Command Mode
Type +++ to return to AT command mode (+++ not
visible in example).
OK
AT^SISO=1,1
^SISO:
1,"Socket",8,4,0,0,"10.10.0.187:2000","10.1
0.0.187:4100",0
OK
AT^SISO=0
The host opens service profile 0.
OK
Note: URC ^SISW:0,1 does not appear! The host
must poll the service state by means of AT^SISI until
the service is in
"Up".
AT^SISI=0
^SISI: 0,3,0,0,0,0
The service is still in
"Connecting".
OK
AT^SISI=0
^SISI: 0,4,0,0,0,0
The service is now in
"Up" and is
ready to accept data.
OK
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
AT^SISW=0,10,1
The host requests to write next 10 bytes and enables
the
^SISW: 0,0,10
But the service refuses the request, even the end-of-
data flag remains without effect.
OK
AT^SISW=0,10,1
Next try (polling).
^SISW: 0,10,20
Response that the service accepts 10 bytes and this
data and the previously sent data are unacknowl-
edged.
0123456789
OK
AT^SISW=0,0,0
Polling to request unacknowledged data.
^SISW: 0,0,10
There are 10 bytes still unacknowledged.
OK
AT^SISI=0
Polling for
change ("Closing" ->
"Down").
^SISI: 0,5,0,20,10,10
20 bytes are transfered via serial interface, 10 bytes
are acknowledged by remote peer, 10 bytes are on
the way.
OK
AT^SISI=0
Polling for
change ("Closing" ->
"Down").