28.04.2015 Views

TC63i AT Command Set

TC63i AT Command Set

TC63i AT Command Set

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TC63i</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

<br />

10.14 Examples of how to Configure and Use Internet Service Profiles<br />

<strong>AT</strong>^SISI=0 Polling for change ("Closing" -><br />

"Down").<br />

^SISI: 0,6,0,20,20,0<br />

The Service is in state "Down" and all data is confirmed<br />

by the remote peer.<br />

OK<br />

<strong>AT</strong>^SISC=0<br />

Closing the Socket service.<br />

OK<br />

10.14.5 Socket client sends data via TCP connection with URCs<br />

The example uses service profile 0 configured for Socket service and TCP.<br />

<strong>AT</strong>^SISO=0 The host opens service profile 0.<br />

OK<br />

^SISW: 0,1<br />

Socket service is ready for upload.<br />

<strong>AT</strong>^SISW=0,10<br />

The host requests to write 10 bytes.<br />

^SISW: 0,10,10<br />

0123456789<br />

OK<br />

^SISW: 0,1<br />

<strong>AT</strong>^SISW=0,10,1<br />

^SISW: 0,10,20<br />

0123456789<br />

OK<br />

------ Waiting for URC.<br />

^SISW: 0,2<br />

<strong>AT</strong>^SISC=0<br />

OK<br />

Response that 10 bytes can be sent and are unacknowledged.<br />

The URC indicates that the Socket service is ready<br />

to transfer more data. Data of the last <strong>AT</strong>^SISW<br />

command are transferred to the remote host.<br />

The host requests to write next 10 bytes and enables<br />

the end-of-data flag to notify that these are the last<br />

10 bytes of the session.<br />

Response that the service accepts 10 bytes and this<br />

data and the previously sent data are unacknowledged.<br />

Data transfer has been finished.<br />

Closing the Socket service.<br />

10.14.6 Socket Scenario with UDP Endpoint<br />

The following example shows a communication between a UDP endpoint (host 1) and a UDP client (host 2).<br />

The first part of the example refers to the UDP endpoint and shows the configuration which allows the UDP endpoint<br />

to communicate with any UDP client.<br />

The second part shows the settings of a UDP client.<br />

The third and the fourth part are running in parallel: The third part shows the procedures on the UDP endpoint<br />

side done when communicating with a UDP client. The fourth part shows the equivalent steps done by the UDP<br />

client when communicating with the UDP endpoint.<br />

Part 1 - host 1 is configured for use as UDP endpoint:<br />

<strong>AT</strong>^SISS=0,srvtype,socket<br />

Select service type Socket.<br />

OK<br />

<strong>AT</strong>^SISS=0,conid,1 Select connection profile 1.<br />

OK<br />

<strong>AT</strong>^SISS=0,alphabet,1<br />

Choose ASCII alphabet.<br />

OK<br />

<strong>AT</strong>^SISS=0,address,"sockudp://:6666"<br />

Specify the local UDP port.<br />

OK<br />

<strong>TC63i</strong>_<strong>AT</strong>C_V01.100 Page 299 of 547 11/10/08<br />

Confidential / Released

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!