28.04.2015 Views

TC65 AT Command Set

TC65 AT Command Set

TC65 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>TC65</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

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

s<br />

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

Below you can find selective examples of how to configure and use Internet service profiles. To visualize the difference<br />

between URC mode and polling mode the operation of services (after opening with <strong>AT</strong>^SISO) is<br />

explained in separate examples for either mode.<br />

10.14.1 Selecting URC Mode or Polling Mode<br />

To enable or disable the presentation of URCs for the Internet services use the <strong>AT</strong>^SCFG command, type "TcpIp/<br />

WithURCs" and select "on" or "off" for parameter .<br />

at^scfg=tcp/withurcs<br />

^SCFG: "Tcp/WithURCs","on"<br />

OK<br />

at^scfg=tcp/withurcs,off<br />

^SCFG: "Tcp/WithURCs","off"<br />

OK<br />

Query the current setting.<br />

URC mode is enabled (delivery detault).<br />

Select polling mode (by switching off URC mode).<br />

Polling mode is accepted.<br />

10.14.2 Configuring Socket Listener<br />

The example assumes that a connection profile has been created as explained in Section 10.1.1 or Section<br />

10.1.2. Keep in mind that if the host is configured as listener another service profile must be left free to be dynamically<br />

assigned as Server when the listener receives a connection request from a remote client.<br />

Configure the service profile 4 for use as Socket listener:<br />

at^siss=4,srvType,socket<br />

Select service type Socket.<br />

OK<br />

at^siss=4,conId,0 Select connection profile 0.<br />

OK<br />

at^siss=4,address,"socktcp://listener:65534"<br />

OK<br />

The host specifies its local port 65534 to be used for<br />

the Socket listener service. The local IP address will<br />

be dynamically assigned when the service is opened<br />

with <strong>AT</strong>^SISO.<br />

Open the Socket service and query the IP address dynamically assigned to the Socket listener:<br />

at^siso=4<br />

OK<br />

at^siso?<br />

^SISO: 0, ""<br />

^SISO: 1, ""<br />

Open the Socket service.<br />

Query the current status of services. All service profiles<br />

are unused, except for service profile 4 which is<br />

running in listener mode, where =3 (listening)<br />

and =3 (LISTENER). The<br />

response also indicates the IP address dynamically<br />

assigned to the listener.<br />

^SISO: 2, ""<br />

^SISO: 3, ""<br />

^SISO: 4, "Socket","3","3","0","0","10.10.0.187:65534","0.0.0.0:0"<br />

^SISO: 6, ""<br />

^SISO: 7, ""<br />

^SISO: 8, ""<br />

^SISO: 9, ""<br />

OK<br />

<strong>TC65</strong>_<strong>AT</strong>C_V02.000 Page 297 of 567 6/2/06<br />

Confidential / Released

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

Saved successfully!

Ooh no, something went wrong!