Go to the source code of this file.
This library is for Moxa Connection Management
- Author
- York LY Chang YorkL.nosp@m.Y.Ch.nosp@m.ang@m.nosp@m.oxa..nosp@m.com
◆ mcm_get_wifi_aplist()
int mcm_get_wifi_aplist |
( |
char * |
interfaceName, |
|
|
int * |
num, |
|
|
mcm_wifi_ap ** |
apilist |
|
) |
| |
A help function for get wifi ap lists.
- Parameters
-
interfaceName | (input) Interface name. |
apilist | (output) A wifi ap lists. |
num | (output) wifi ap numbers. |
- Returns
- If get ethernet properties success return 0. If fail, return error number.
◆ mcm_get_wifi_info()
int mcm_get_wifi_info |
( |
char * |
interfaceName, |
|
|
mcm_wifi_info * |
wifi_info |
|
) |
| |
A help function for get wifi informations.
- Parameters
-
interfaceName | (input) Interface name. |
wifi_info | (output) A wifi informations structure. |
- Returns
- If get ethernet properties success return 0. If fail, return error number.
◆ mcm_wifi_get_all_properties()
int mcm_wifi_get_all_properties |
( |
char * |
interfaceName, |
|
|
int * |
arr_len, |
|
|
mcm_property_info ** |
info_arr |
|
) |
| |
A help function for get all ethernet properties.
- Parameters
-
interfaceName | (input) Interface name. |
arr_len | (output) Number of properties array. |
info_arr | (output) Properties array. |
- Returns
- If get ethernet properties success return 0. If fail, return error number.
◆ mcm_wifi_get_property()
int mcm_wifi_get_property |
( |
char * |
interfaceName, |
|
|
char * |
propertyName, |
|
|
char ** |
propertyValue, |
|
|
int |
cached |
|
) |
| |
A help function for get property.
- Parameters
-
interfaceName | (input) Interface name. |
propertyName | (input) Property name. |
cached | (input) Using caeched property value. |
propertyValue | (output) Property value. |
- Returns
- If get wifi property success return 0. If fail, return error number.