Syntax
VM_RESULT vm_wlan_get_ip_info(
    vm_wlan_ip_info_t* ip_info
);
ContentsIndex
PreviousUpNext
vm_wlan_get_ip_info
Example
Syntax
VM_RESULT vm_wlan_get_ip_info(
    vm_wlan_ip_info_t* ip_info
);
Description

Gets the IP address, Netmask, gateway IP and DNS, when they are available. The IP information will be available only when the WLAN server is in CONNECTED status. There are two situations due to the way of how to obtain the IP. If using static IP when connecting, the IP will be available once the connection succeeds. If using DHCP when connecting, the IP will be available only when ABM notifies the IP by MSG, which will take a little time after connection succeeds.

Parameters
Parameters 
Description 
vm_wlan_ip_info_t* ip_info 
[OUT] Containing the IP information upon the return of this function. 
Example
vm_wlan_ip_info_t ip_info = {0};
vm_wlan_get_ip_info(&ip_info);
File

vmwlan.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.