Hello Hein and Richard,
I have a question regarding your thoughts about adding another application hook to the DHCP Client code.
It would be nice to be able to grab some additional parameters(options) from the DHCP server. In my particular case, I have OPTION 66 (Boot Server) being sent by the DHCP Server, and I would like to be able to capture that value and use it to retrieve some configuration information.
I’ve looked for a way to do this elegantly without breaking the ability to upgrade FreeRTOS Source code in the future, but I don’t see a good way.
What’s your general feeling toward adding a xApplicationDHCPOptionsHook() call (and ipconfigUSE_DHCP_OPTIONS_HOOK #define) to the prvProcessDHCPReplies() function?
Alternatively, if I’ve completely missed something that would allow me to grab these, a pointer in the right directly would be great!