Socket Client Sends Data Via Tcp Connection With Urcs; Configuring And Using Ftp Download (Urc Mode) - Siemens Brodersen MC55 AT Command Manual

At command manual
Table of Contents

Advertisement

AT^SISI=0
^SISI: 0,6,0,20,20,0
OK
AT^SISC=0
OK
10.11.5

Socket client sends data via TCP connection with URCs

The example uses service profile 0 configured for Socket service and TCP.
AT^SISO=0
OK
^SISW: 0,1
AT^SISW=0,10
^SISW: 0,10,10
0123456789
OK
^SISW: 0,1
AT^SISW=0,10,1
^SISW: 0,10,20
0123456789
OK
------
^SISW: 0,2
AT^SISC=0
OK
10.11.6

Configuring and Using FTP Download (URC Mode)

First set up a connection profile as explained in Section
which are mandatory for the connection profile.
Configure the service profile 1 for FTP:
at^siss=1,srvType,ftp
OK
at^siss=1,conId,0
OK
at^siss=1,address,"ftp://
192.168.1.2;type=d"
OK
Make an FTP connection:
at^siso=1
OK
^SISR: 1, 1
at^sisr=1,1500
MC55_ATC_V04.00
Confidential / Released
Polling for
"Down").
The Service is in state "Down" and all data is con-
firmed by the remote peer.
Closing the Socket service.
The host opens service profile 0.
Socket service is ready for upload.
The host requests to write 10 bytes.
Response that 10 bytes can be sent and are unac-
knowledged.
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.
The host requests to write next 10 bytes and enables
the end-of-data flag to notify that these are the last
10 bytes of the session.
Response that the service accepts 10 bytes and this
data and the previously sent data are unacknowl-
edged.
Waiting for URC.
Data transfer has been finished.
Closing the Socket service.
10.1.1
or Section 10.1.2. Enter at least all parameters
Select service type FTP.
Select connection profile 0.
Specify FTP address with user and password anon-
ymous.
Open the service.
Bearer is established, service is getting started.
Data is available.
Request to read 1500 bytes.
Page 258 of 475
change ("Closing" ->
<srvState>
3/17/06

Advertisement

Table of Contents
loading

This manual is also suitable for:

Brodersen mc55

Table of Contents