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 |
[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 |
[in] | dhcp_usr_cls_rsp_handler | - DHCP User Class response handler |
Returns
0 - Success
Negative Value - Failure (Possible Error Codes - 0xfffffffd, 0xfffffffc)
Note
Refer to Error Codes for the description of above error codes.
Definition at line
38
of file network/protocols/rsi_dhcp_user_class.c