DHCPc_Init()

Initializes the DHCP client.

Files

dhcp-c.h/dhcp-c.c

Prototype

          DHCPc_ERR  DHCPc_Init (void);


Arguments

None.

Returned Values

DHCPc_ERR_NONE, if no errors;

Specific initialization error code, otherwise.

Required Configuration

None.

Notes / Warnings

None.

Example Usage

          DHCPc_ERR  err;
           
          err = DHCPc_Init();
          if (err == DHCPc_ERR_NONE) {
              printf("Init successful\n\r");
          } else {
              printf("Init error\n\r");
          }