EasyManuals Logo

Gemalto CINTERION BGS2T User Manual

Gemalto CINTERION BGS2T
554 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 #284 background imageLoading...
Page #284 background image
BGS2T AT Command Set
10.13 Examples of how to Configure and Use Internet Service Profiles
BGS2T_ATC_V01.301 Page 284 of 554 1/31/12
c
10.13.3 Configuring Socket Client for Calling a Socket Listener on
Another Host
The example assumes that a connection profile has been created as explained in Section 10.1.1 or Section
10.1.2.
Configure the client's service profile 1 for calling a Socket listener on another host:
10.13.4 Socket Client Sends Data via TCP Connection (Polling Mode)
The example uses service profile 0 configured for Socket service and TCP.
at^siss=1,srvType,socket
Select service type Socket.
OK
at^siss=1,conId,0
Select connection profile 0.
OK
at^siss=1,address,"socktcp://
10.10.0.187:65534"
The service profile of the client contains the IP
address and the TCP port of the remote host.
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 <srvState> "Up".
AT^SISI=0
^SISI: 0,3,0,0,0,0
The service is still in <srvState> "Connecting".
OK
AT^SISI=0
^SISI: 0,4,0,0,0,0
The service is now in <srvState> "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 end-of-data flag.
^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 <srvState> 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
Confidential / Released

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Gemalto CINTERION BGS2T and is the answer not in the manual?

Gemalto CINTERION BGS2T Specifications

General IconGeneral
BrandGemalto
ModelCINTERION BGS2T
CategoryTouch terminals
LanguageEnglish

Related product manuals