This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I add the “BOOT File name” protocol element to my “DHCP Discover” message?

Hi.

I got a PLUS-license for KEIL uV5 and a KEIL MCBSTM32C evaluation board (for STM32F107).

I want to send my "DHCP Discover" message containing a (random/dummy) "BOOT File name" protocol element.
But the information on www.keil.com/.../group__using__ethernet__interfaces__conf.html
don't seems sufficient (my DHCP-client wont add this "BOOT File name" protocol element).

How can I add the "BOOT File name" protocol element to my "DHCP Discover" message?

best regards
Terje Bøhler

Parents
  • Well you can't. It is possible to add a BOOTFILE option in DHCP option request list in a DHCP DISCOVER message. In order to request this, you need to enable Bootfile Name in Net_Config_ETH_0.h

    #define ETH0_DHCP_BOOTFILE      1
    

Reply
  • Well you can't. It is possible to add a BOOTFILE option in DHCP option request list in a DHCP DISCOVER message. In order to request this, you need to enable Bootfile Name in Net_Config_ETH_0.h

    #define ETH0_DHCP_BOOTFILE      1
    

Children