Microprocessor based ftp application using Siemens TC45 modem

johann

New Member
Joined
Sep 19, 2005
Messages
3
Reaction score
0
Hi everyone

Let me first of all provide some background: I have an application where I want to periodically FTP small amounts of data (or also SMTP as an attachment) from a remote site to an FTP server. It might seem easy enough, but it is all done from a microcontroller requiring low level interaction with the cellphone modem. Fortunately, the modem is a Java enabled modem from Siemens and I have obtained several Java applications that handles the TCP/IP stack for me. To be able to use it, I need to provide the Java application with the required information based on the AT command from Siemens, namely (Set Dialup Network Access Parameters according to Siemens):

AT^SJNET = <bearer service>, <entry point>, <login>, <password>[, <dns>[, <timeout>]]

The following I presume is correct (of not I would appreciate the correct fields):

<bearer service> = "gprs"
<entry point> = "internet"
<login> = ""
<password> = ""

I need to however provide the application with the IP address of the dynamic name server of the network in the <dns> field. I did come across one reference to this at http://www.taniwha.org.uk/gprs.html listing the IP address to be 196.11.240.241, but I was hoping that someone could confirm that it is indeed correct.

Did I make sense?

Regards
 
I don't think the address of the DNS server is required at all. I created Access Points for Series 60 devices without specifying an DNS server - as far as I know DHCP will take care of all the work, and DHCP does not require the address of the DNS server (UDP broadcasts).

Try setting the DNS IP to 0.0.0.0, or omitting it if at all possible.
 
Johand said:
I don't think the address of the DNS server is required at all. I created Access Points for Series 60 devices without specifying an DNS server - as far as I know DHCP will take care of all the work, and DHCP does not require the address of the DNS server (UDP broadcasts).

Try setting the DNS IP to 0.0.0.0, or omitting it if at all possible.
That is correct Johand. On both the MTN and Vodacom network the DNS server's IP address(es) are passed to the modem, unless you are on a private APN (which your not).
 
What processor is this attached to? I assume S7-200.
 
Last edited:
btw for GPRS access IP address and DNS address would be automatic but you need a usename and password (and address) for the ISP you will be using for the connection.
 
Top
Sign up to the MyBroadband newsletter
X