Account
Projects Code & Files Forums Design Sketches Photos Videos Chat Blogs Sites People  
 
  •  
 
 
File info
07.02.2010 (213 Days Ago)
Folders
From admin
222 Days Ago, 1 Files
From admin
223 Days Ago, 4 Files
View file
Arduino-DHCPv0.1.zip
Size: 12 Kb (zip)
0 votes
0
292
Main file info
Title:
Arduino-DHCPv0.1.zip
error
Folder:
error
Description:
I've tested it with an Arduino Duemilanove (ATMega168), but I'm positive that there will be bugs in the code and that for some (hopefully not many) people it will just plain not work. If you do try to use it and find that it doesn't work, try using Wireshark to see what packets (if any) are flying across the wire. Even if you can't figure it out, sending Wireshark capture logs to me will be helpful for me to debug. In order to use the library, you need to drop the contents of the zip file into your "ArduinohardwarelibrariesEthernet" folder. There is a sample in the zip file called "WebClientWithDHCP" that is a modification of the standard Ethernet "WebClient" example. There are the basic steps to get it working. 1) Add "#include "Dhcp.h" to the beginning of your Arduino sketch 2) Declare a variable of type Dhcp (e.g. "Dhcp dhcp;") 3) Call the beginWithDHCP() method, while providing it a MAC address It has been a challenge writing this library, and I've just scratched the surface. I don't have IP lease renewal, retry, cable detection, or even much error handling/reporting. I'm just interested in getting feedback from the Arduino community to see if they find this useful and where to take the library next. Enjoy! Via: http://blog.jordanterrell.com/post/RFID-Lock-Prototype-DHCP-Library-v01.aspx
error
Category:
error
Tags:
error
URL:
error
Comments
Order by: 
Per page: 
 
  • There are no comments yet
Copyright © 2010 Arduino User Community -
Not affiliated with or endorsed by Arduino (Arduino.cc)