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 CCS Technical Support

Professional communication protocol

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



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

Professional communication protocol
PostPosted: Mon Apr 12, 2004 11:37 pm     Reply with quote

Hi all
In a (yet another) new project I need to design a PIC8F452-based system which would collect information about various events during the day and call the office (using a socket modem, over standard phone lines, a local call) and dump the data back to the base. The data size will be up to 2kb-3kb per night.
If possible, I want to avoid designing a protocol for this communiation. I was thinking about using some professional and well-established protocol such as Z-modem or Kermit. These also support error detection/recovery which is a huge bonus. Is it possible to use any of the mentioned methods on a PIC? If so, does anyone know about any code already available? Or is it too much for a PIC18F452? If so, does anyone have any other suggestions? All comments are welcome. Thanks.
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Apr 13, 2004 12:34 am     Reply with quote

I think I would go for the xmodem protocol. Kermit is obsolete, I don't know any recent applications using it. Zmodem is an evolution of x- and y-modem but too advanced for your application, you can do without the extra code overhead.

Use the terms 'PIC' and 'xmodem' on google for lots of info and code examples.
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