TINI support (TCP/IP)
"Liapis Dimitris" <liad-S/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <003901c40a64$efe42450$1f2c7c92@pcnt31> |
I am trying to connect to a public Internet address using TINI over the Vodafone GPRS network in Greece. I am using TINI 1_02 and a Wavecom GPRS modem. Although I manage to establish a connection to the Vodafone GPRS network, I cannot then connect to any well known address. The procedure I use is the following (using as reference the Datalogger example (Application note 705)): 1)open the serial port 2)initialise modem 3)connect to network 4)initiate PPP 5)by the time PPP is up, I try to open a TCP/IP socket to a public server -> Always fail with the IOException "Unable to connect to remote host" Notes: 1) The GPRS modem works, because the same procedure when followed on a Win2K PC, succeeds. 2) The Ethernet interface of TINI is of course active but set to a LAN, so no outgoing packet should - according to theory - be matched to this interface. I once tried to 'deactivate' the Ethernet interface by setting the ip to 0.0.0.0. Didn't work either. 3) Even tried to set the PPP interface as the default one with the following settings: IP:10.2.10.60 (retrieved from com.dalsemi.tininet.ppp ppp.getLocalAddress()) Subnet Mask: 255.255.255.255 Default Gateway: 10.2.10.60 Nothing seems to work. I would really appreciate it, if you would provide me with some support because this forms the basis of a whole application. Regards _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini