I want to submit the Arduino DHCP Library that I created to be included in the main Arduino distribution. I tried asking what the process was on the developer’s mailing list, but I got no response.
Anyone listening out there who can clue me in on how to start the process?
5973d66d-ae7c-4a1b-8dfe-887c2ddadceb|1|5.0
I just finished implementing some improvements to the Arduino DHCP Library as suggested by members of the Arduino forums. Special thanks to Arduino forum members Nebster, smartperson, and thomsen for their feedback and suggestions.
Download here: Arduino DHCP Library v0.3
Previous Versions: v0.2, v0.1
Additional instructions can be found on the original DHCP library post.
Here is a list of the improvements in the v0.3 release:
- Transaction ID is correctly incremented on DHCP discovery retries
- Elapsed Seconds is now calculated and transmitted, instead of always being zero
- You can now retrieve the following data elements:
- Local MAC Address
- Local IP Address
- Subnet Mask
- Gateway IP Address
- DHCP Server IP Address
- DNS Server IP Address
- The example Arduino sketch has been updated to show:
- How to determine if an IP address was successfully acquired
- How to retrieve data elements acquired from the DHCP server (e.g. Local IP Address)
308189a3-c19f-4c08-b6f0-8e76732dc71f|3|5.0
I just finished adding retry capability to the DHCP library. It will, by default, resend DHCP requests every 2 seconds, and timeout after 60 seconds. I've also removed the need to declare a Dhcp variable. Take a look at the included example to see how to use the new library.
Download here: Arduino DHCP Library v0.2
I hope this release solves the outstanding issues I know about. I'm also looking for feedback on additional enhancements - ARP conflict detection, lease renewal, etc. If you know of something that doesn't work or you would like to see added, please let me know.
Enjoy!
6c0fdf19-49e9-4d0c-8efd-ef7e402ef83a|0|.0
There has been a good amount of interest in the DHCP library I made public on Sunday night. So far I've registered almost 1200 page hits and over 140 downloads. Not a huge following, but larger than I expected. As a result going forward I will be treating the DHCP library as a separate project - separate from my RFID lock.
A number of people have indicated that the library is working just fine for them. However, I know of one case where the lack of retry logic is preventing someone from using the library without making changes. The goal with the next release is to add retry logic and hopefully trim the program size of the library.
Thanks to everyone giving their feedback and please continue to do so!
541342d2-4ca8-492f-bbc4-1114dde99c7f|0|.0