5.13.0.0R1
Software Development Kit
DHCP Server

Functions

wiced_result_t wiced_get_clients_ip_address_list_dhcp_server (wiced_dhcp_server_t *server, void *ip_address_list)
 
wiced_result_t wiced_start_dhcp_server (wiced_dhcp_server_t *server, wiced_interface_t interface)
 
wiced_result_t wiced_stop_dhcp_server (wiced_dhcp_server_t *server)
 

Detailed Description

Communication functions for DHCP server

Function Documentation

wiced_result_t wiced_get_clients_ip_address_list_dhcp_server ( wiced_dhcp_server_t *  server,
void *  ip_address_list 
)

Fetches the list of IP-addresses of associated clients from cached entries of DHCP server

Parameters
[in]serverStructure workspace for the DHCP server instance - as used with wiced_start_dhcp_server
[in]ip_address_listIP-address list structure for all associated clients
Returns
wiced_result_t
wiced_result_t wiced_start_dhcp_server ( wiced_dhcp_server_t *  server,
wiced_interface_t  interface 
)

Start a DHCP server instance.

Parameters
[in]serverStructure workspace that will be used for this DHCP server instance - allocated by caller.
[in]interfaceWhich network interface the DHCP server should listen on.
Returns
wiced_result_t
wiced_result_t wiced_stop_dhcp_server ( wiced_dhcp_server_t *  server)

Stop a DHCP server instance.

Parameters
[in]serverStructure workspace for the DHCP server instance - as used with wiced_start_dhcp_server
Returns
wiced_result_t