6 configuring and using ftp download (urc mode) – Siemens AC75 User Manual
Page 300
AC75 AT Command Set
10.14 Examples of how to Configure and Use Internet Service Profiles
s
AC75_ATC_V01.002
Page 300 of 569
10/30/06
Confidential / Released
10.14.5
Socket client sends data via TCP connection with URCs
The example uses service profile 0 configured for Socket service and TCP.
10.14.6
Configuring and Using FTP Download (URC Mode)
First set up a connection profile as explained in Section
. Enter at least all parameters
which are mandatory for the connection profile.
Configure the service profile 1 for FTP:
Make an FTP connection:
AT^SISI=0
Polling for
change ("Closing" ->
"Down").
^SISI: 0,6,0,20,20,0
The Service is in state "Down" and all data is con-
firmed by the remote peer.
OK
AT^SISC=0
Closing the Socket service.
OK
AT^SISO=0
The host opens service profile 0.
OK
^SISW: 0,1
Socket service is ready for upload.
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
^SISW: 0,1
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.
AT^SISW=0,10,1
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.
^SISW: 0,10,20
Response that the service accepts 10 bytes and this
data and the previously sent data are unacknowl-
edged.
0123456789
OK
------
Waiting for URC.
^SISW: 0,2
Data transfer has been finished.
AT^SISC=0
Closing the Socket service.
OK
at^siss=1,srvType,ftp
Select service type FTP.
OK
at^siss=1,conId,0
Select connection profile 0.
OK
at^siss=1,address,"ftp://
192.168.1.2;type=d"
Specify FTP address with user and password anon-
ymous.
OK
at^siso=1
Open the service.
OK
Bearer is established, service is getting started.
^SISR: 1, 1
Data is available.
at^sisr=1,1500
Request to read 1500 bytes.
- A75
- SXG75
- CX65
- A50
- C30
- A65
- SL75
- A35
- M75
- SX1
- C55
- M55
- SL45
- S65
- S75
- CF75
- CFX65
- AX75
- C75
- M65
- CX75
- ST60
- U15
- CF62
- C45
- C45
- Xelibri 8
- Xelibri 7
- SL45i
- SL42
- Xelibri 3
- ST55
- SL55
- C62
- C62
- Xelibri 6
- M50
- Xelibri 2
- Xelibri 4
- A57
- A36
- Xelibri 1
- Xelibri 5
- C70
- Gigaset SL 740
- Mobile Phone C35i
- 4110
- RS-485
- A55
- Gigaset SL55
- Gigaset C450 IP
- Gigaset E45
- S42
- Gigaset 150
- XT75
- SL370
- M30
- A40
- S56
- TDMA 800
- S40
- 150 H
- MT50
- C60
- SL 42
- CL50
- 1168
- C35i
- A52
- SL56
- A60
- SX66
- 4000
- MOVIEMATE 50
- XT55 AVL
- XT55
- 3000
- Gigaset 200
- Mobile
- Mux_guide_v06
- Gigaset S450 IP
- MC60
- Hicom 300E
- SF65
- CXV70
- CXV65
- 8WD44
- C61
- C56
- S45i
- MC55
- CX70
- PEGASUS-DTC AX72
- C70 CT70
- 4010
- Gigaset SL1
- Gigaset C100 DECT
- Gigaset S1
- 4000i
- Gigaset 3000 Classic