Initial release of software.
Several functions renamed to implement a standard naming scheme. Documentation also added to header files.
Altered to work with new initialization code.
No longer destroys the serial0 and serial1 interrupt vectors.
The callback function for IP state change can be in C and supplies the new state as an argument. Support for a C callback function for unhandled/unsupported DHCP options. Function to return IP address of the DHCP server.
Function to return IP address of the DHCP server was accidentally left out of the previous version's library. Corrected the problem.
Added functions to retrieve the primary and secondary DNS servers from their storage locations in RAM. Note that these are not currently tied to the server settings in the DNS library.
Updated library to synchronize with export table changes implemented in the initialization library.
The notify callback now also provides a pointer to the last DHCP packet received. Also added function dhcp_gettaskid().
Added dhcp_registerbuildpacket() to allow the user to add DHCP options to discover and request packets.
Works with Sonicwall DHCP server. No longer reports option 35h (DHCP message type) as unhandled option. Fixed loss of socket timeouts during DHCP renew in the task that called dhcp_init. Fixed problem when not registering a "build packet" callback. Sets task ID to 0 on dhcp_stop. Added dhcp_setrequestip() to allow the user to request a previously leased IP. Added argument to dhcp_stop() that controls whether the leased IP should be returned (using DHCPRELEASE message). Fixed IP of 0 after an INITREBOOT state.
DHCP socket is now owned by child process instead of parent to allow for automatic resource cleanup. Changed stop code to do proper socket unbind and close. Fixed communication problem that could result in long startup times, or failure to acquire an IP. Added dhcp_getsocket() function.