Network Configuration#
Functions#
Configure the IP address for the specified virtual AP.
Function Documentation#
sl_si91x_configure_ip_address#
sl_status_t sl_si91x_configure_ip_address (sl_net_ip_configuration_t * address, uint8_t virtual_ap_id)
Configure the IP address for the specified virtual AP.
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_net_ip_configuration_t * | [in] | address | Pointer to an sl_net_ip_configuration_t structure where the assigned IP address details will be stored. |
uint8_t | [in] | virtual_ap_id | Virtual AP ID. One of the values from sl_wifi_vap_id_t. |
This function configures the IP address for the specified virtual Access Point (AP) on the Si91x device. The IP address details are provided in the address
parameter.
Virtual AP ID is used to differentiate between client and AP in concurrent mode.
Returns
sl_status_t. See Status Codes and WiSeConnect Status Codes for details.
Note
The function's wait time depends on the number of retries and intervals specified in the DHCP configuration contained in the
address
parameter. Ensure that the DHCP retry intervals and maximum retries are configured appropriately to avoid unexpected delays. For details on calculating the wait time, refer to the sl_net_dhcp_configuration_t structure