![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
Storic
Joined: 03 Dec 2005 Posts: 182 Location: Australia SA
|
usb WEB |
Posted: Tue Apr 01, 2008 4:24 pm |
|
|
hi,
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](images/smiles/icon_question.gif) _________________ What has been learnt if you make the same mistake? ![Wink](images/smiles/icon_wink.gif) |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah Guest
|
|
Posted: Wed Apr 02, 2008 8:54 am |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|