DHCP User class#

Functions#

int32_t
rsi_dhcp_user_class(uint8_t mode, uint8_t count, user_class_data_t *user_class_data, void(*dhcp_usr_cls_rsp_handler)(uint16_t status))

Enable DHCP user class. This is a non-blocking API.

Function Documentation#

rsi_dhcp_user_class#

int32_t rsi_dhcp_user_class (uint8_t mode, uint8_t count, user_class_data_t * user_class_data, void(*)(uint16_t status) dhcp_usr_cls_rsp_handler)

Enable DHCP user class. This is a non-blocking API.

Parameters
[in]mode

- DHCP User Class mode 1- RFC Compatible mode 2- Windows Compatible mode

[in]count

- DHCP User Class count

[in]user_class_data

- The first byte of this buffer is user class data length and then user class data follows

N/Adhcp_usr_cls_rsp_handler

Returns

  • 0 - Success Negative Value - Failure -3 - Command given in wrong state -4 - Buffer not available to serve the command

Note

  • Refer to Error Codes section for the description of the above error codes Error Codes.


Definition at line 39 of file network/protocols/rsi_dhcp_user_class.c