CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

ppp on pic18

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
puppie7777



Joined: 09 Jun 2004
Posts: 25
Location: Monterey, CA

View user's profile Send private message

ppp on pic18
PostPosted: Thu Jun 24, 2004 1:35 am     Reply with quote

my question maybe not so relative to this forum, but i hope if there are some people familar with it can help.

i am building ppp tcp/ip on pic18 thr GPRS modem. my ppp connection has been established already, i can get the ACK of ip and DNS, but i tried to ping to any server with sending a ICMP packet to GPRS modem, the modem didnt give me any echo response.

any suggestion is highly preciated!


Thx!
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Thu Jun 24, 2004 7:58 am     Reply with quote

Some ISPs and servers block ping because it's a security risk. Maybe that's your problem?
puppie7777



Joined: 09 Jun 2004
Posts: 25
Location: Monterey, CA

View user's profile Send private message

PostPosted: Sun Jun 27, 2004 5:45 am     Reply with quote

Thx for your kind concerning. but the "Trick" is that i have try those public ones such like yahoo.com which can be ping from any MS DOS client. still got he same problem.
Darren Rook



Joined: 06 Sep 2003
Posts: 287
Location: Milwaukee, WI

View user's profile Send private message Send e-mail

PostPosted: Sun Jun 27, 2004 4:14 pm     Reply with quote

Well, I don't know what anyone can do here to help you. I've written an IP stack with PPP so I know a lot, but you really havent given us any information to help you.
puppie7777



Joined: 09 Jun 2004
Posts: 25
Location: Monterey, CA

View user's profile Send private message

PostPosted: Mon Jun 28, 2004 12:54 am     Reply with quote

Thanks so much Darren!
my current problem in details is that now i dont know how to link up the ip with the ppp, my GPRS modem is connected thru RS232 to pic18, i have established the GPRS connection thru AT commands, and finished all the LCP-PAP-IPCP handshakings, so from the Rx pin of MCU, i can finally get the ACK of ipcp as following:
7E
FF 7D 23 80 21 7D 22 7D 21 7D 20 7D 30 7D 23
7D 26 AC 7D 36 3A 7B 81 7D 26 CA 4F 7F A6 3F 67
7E
Then, i tried to send an ICMP packet or IP packet data to Tx PIN, but the GPRS modem didn't give me any response. Did i miss anything here?

one more question is, i try to use the TCP/IP stack from "TCP/IP LEAN"(second edition) written by Jeremy Bentham, but those coding seems quite messy. those codes for SLIP or Ethernet NIC(i no need to use) ... ... confuses me so much... ...
xpercad



Joined: 27 Jun 2004
Posts: 12
Location: MÉXICO

View user's profile Send private message

PostPosted: Mon Aug 02, 2004 8:19 am     Reply with quote

Hi puppie7777,

Did you finally solve the TCP/IP with PPP project on the PIC18 with the GPRS modem ??? I am about to start development for a similar project and would very much like to hear some feedback from somebody who has been around the block.

Feedback from anybody will be highly apreciated.

Regards,

Aaron
Guest








PostPosted: Mon Aug 02, 2004 8:48 am     Reply with quote

What type of GPRS modem you use? I use Wavecom adapters with IP stack included so I am able e.g. to send an e-mail with a plain at#sendmail command (FTP is also supported by AT commands).
xpercad



Joined: 27 Jun 2004
Posts: 12
Location: MÉXICO

View user's profile Send private message

PostPosted: Mon Aug 02, 2004 9:20 am     Reply with quote

I am using a Siemens XT55 (GSM/GPRS + GPS) and it does not include a TCP/IP Stack. There is a big price advantage using this integrated module (GPS is included) but the downside is that there is no TCP/IP Stack.

I have very little time for development and my big question is how long will it take me to have the stack operational. The TCP/IP services I need are PPP (to establish the link) and basicaly TCP and UDP for information exchange.

Regards,

Aaron
Guest








PostPosted: Mon Aug 02, 2004 9:49 am     Reply with quote

Price advantage? I bought Wavecoms for cca. $100 each Smile How much the XT55 costs? (Wavecom has something with GPS and IP stack for cca. $150 but I don't know the exact type number...)
The time for implementing PPP is depended upon your original source Smile
xpercad



Joined: 27 Jun 2004
Posts: 12
Location: MÉXICO

View user's profile Send private message

PostPosted: Mon Aug 02, 2004 10:07 am     Reply with quote

I can not disclose exact price figures for the Siemens XT55 beacuse I have a NDA with them. What I can tell you is that their pricing is very attractive. The Wavecom module that includes the GPS is not intended for the North American market.

If you are interested in the Siemens modules you should contact:

Shawn Sanderson
Sales Manager
Wireless Modules
Direct: (858) 521-3398
Mobile: (858) 776-0432
Fax: (858) 521-3105
Email: shawn.sanderson@siemens.com
www: http//www.siemens-mobile.com/wm
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group