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

usb WEB

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



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

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

usb WEB
PostPosted: Tue Apr 01, 2008 4:24 pm     Reply with quote

hi,
Confused
is it possible to use USB interface to act like TCP/IP Ethernet.
for instance able to get a web page on the micro/SD and display on the PC/internet web explorer Question
_________________
What has been learnt if you make the same mistake? Wink
Ttelmah
Guest







PostPosted: Wed Apr 02, 2008 8:54 am     Reply with quote

Not really, and yes...
You are confusing yourself. A web page, has nothing to do with TCP/IP. TCP/IP, is the transport 'layer', immediately above the hardware one, for sending stuff over Ethernet. The web 'browser', doesn't care how stuff is transported. Hence you can take a web page, save it on your local hard disk, and open this with the browser. When you do this, TCP/IP, doesn't come into the equation at all. The same applies over USB. USB, has it's own transport layer, which does not use TCP/IP. You can build a USB slave device with a PIC, which is seen as a storage device, and inside this device, have the text for a web page, and open this with the browser. If you want to add the extra complexity of TCP/IP, then you would have to make the device be seen as a network CDC device, and then provide the extra code to handle TCP/IP as well. A lot of extra work, which would achieve nothing more...

Best Wishes
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