Syntax
VM_RESULT vm_wlan_get_mac_address(
    vm_wlan_string_info_query_t* mac_address
);
ContentsIndex
PreviousUpNext
vm_wlan_get_mac_address
Example
Syntax
VM_RESULT vm_wlan_get_mac_address(
    vm_wlan_string_info_query_t* mac_address
);
Description

Gets the MAC address. The size of the dest buffer must be equal to or greater than VM_WLAN_MAC_ADDRESS_LENGTH, which means the destination_length must be equal to or greater than VM_WLAN_MAC_ADDRESS_LENGTH. Otherwise the WLAN Server will fail, and the required length (VM_WLAN_MAC_ADDRESS_LENGTH) will be set in the request_length, back to the application. 

If the dest is NULL and the request_length exists (not NULL), the function will fail with the required length set in request_length for the application.

Parameters
Parameters 
Description 
vm_wlan_string_info_query_t* mac_address 
[IN|OUT] Containing the MAC address upon the return of this function. 
Example
CHAR dest[VM_WLAN_MAC_ADDRESS_LENGTH] = {0};
vm_wlan_string_info_query_t mac_addr;
mac_addr.destination = dest;
mac_addr.destination_length = VM_WLAN_MAC_ADDRESS_LENGTH;
vm_wlan_get_mac_address(&mac_addr);
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.