libmcm
1.4.0
A client library for Moxa Connection Management
|
#include "mcm-base-info.h"
Go to the source code of this file.
Enumerations | |
enum | McmModemState { MCM_MODEM_STATE_NOT_READY = 0 , MCM_MODEM_STATE_INITIALIZING = 1 , MCM_MODEM_STATE_PIN_LOCKED = 2 , MCM_MODEM_STATE_PUK_LOCKED = 3 , MCM_MODEM_STATE_RADIO_OFF = 4 , MCM_MODEM_STATE_RADIO_ON = 5 , MCM_MODEM_STATE_SEARCHING = 6 , MCM_MODEM_STATE_REGISTERED = 7 , MCM_MODEM_STATE_CONNECTING = 8 , MCM_MODEM_STATE_CONNECTED = 9 , MCM_MODEM_STATE_NO_SIM = 99 } |
Functions | |
int | mcm_modem_get_all_properties (char *interfaceName, int *arr_len, mcm_property_info **info_arr) |
A help function for get all ethernet properties. More... | |
int | mcm_modem_get_property (char *interfaceName, char *propertyName, char **propertyValue, int cached) |
A help function for get property. More... | |
int | mcm_get_modem_info (char *interfaceName, mcm_modem_info *modem_info) |
A help function for get modem information. More... | |
This library is for Moxa Connection Management
enum McmModemState |
McmModemState:
Enumeration of possible connection states.
int mcm_get_modem_info | ( | char * | interfaceName, |
mcm_modem_info * | modem_info | ||
) |
A help function for get modem information.
interfaceName | (input) Interface name. |
modem_info | (output) A modem infomation structure. |
int mcm_modem_get_all_properties | ( | char * | interfaceName, |
int * | arr_len, | ||
mcm_property_info ** | info_arr | ||
) |
A help function for get all ethernet properties.
interfaceName | (input) Interface name. |
arr_len | (output) Number of properties array. |
info_arr | (output) Properties array. |
int mcm_modem_get_property | ( | char * | interfaceName, |
char * | propertyName, | ||
char ** | propertyValue, | ||
int | cached | ||
) |
A help function for get property.
interfaceName | (input) Interface name. |
propertyName | (input) Property name. |
cached | (input) Using caeched property value. |
propertyValue | (output) Property value. |