|
LinuxQMISDK
SLQS04.00.02
|
Device Connectivity Service API function prototypes. More...
Go to the source code of this file.
Data Structures | |
| struct | DcsUsbPortNames |
| struct | QosMap |
| struct | NetStats |
Macros | |
| #define | LEN 10 |
| #define | PORTNAM_LEN 32 |
Functions | |
| ULONG | QCWWAN2kEnumerateDevices (BYTE *pDevicesSize, BYTE *pDevices) |
| ULONG | QCWWAN2kConnect (CHAR *pDeviceID, CHAR *pDeviceKey) |
| ULONG | QCWWANDisconnect () |
| ULONG | QCWWAN2kGetConnectedDeviceID (ULONG deviceIDSize, CHAR *pDeviceID, ULONG deviceKeySize, CHAR *pDeviceKey) |
| ULONG | QCWWANEnumerateDevices (BYTE *pDevicesSize, BYTE *pDevices) |
| ULONG | QCWWANConnect (CHAR *pDeviceID, CHAR *pDeviceKey) |
| ULONG | SetSDKImagePath (LPCSTR pPath) |
| ULONG | SLQSGetUsbPortNames (struct DcsUsbPortNames *pUsbPortNames) |
| ULONG | SLQSStart_AVAgent (BYTE modem_index) |
| ULONG | SLQSStart (BYTE modem_index, CHAR *sn) |
| ULONG | SLQSKillSDKProcess () |
| ULONG | SLQSGetDeviceMode (BYTE *pDeviceMode) |
| ULONG | SLQSStartSrv (BYTE action, BYTE mask) |
| ULONG | SLQSSetLoggingMask (BYTE mask) |
| ULONG | SLQSGetNetStatistic (struct NetStats *pNetStatistic, BYTE instance) |
Device Connectivity Service API function prototypes.
| #define LEN 10 |
| #define PORTNAM_LEN 32 |
This structure contains the SLQSGetUsbPortNames Information
| AtCmdPort | [OUT]
|
| NmeaPort | [OUT]
|
| DmPort | [OUT]
|
Connects the Connection Manager API to the first detected QC WWAN device. This function MUST be called after QCWWAN2kEnumerateDevices has been called.
| pDeviceID[IN] |
|
| pDeviceKey[IN] |
|
Enumerates the QC WWAN devices currently attached to the host. This API MUST be called before any other API.
| pDeviceSize[IN/OUT] |
|
| pDevices[IN/OUT] |
|
| ULONG QCWWAN2kGetConnectedDeviceID | ( | ULONG | deviceIDSize, |
| CHAR * | pDeviceID, | ||
| ULONG | deviceKeySize, | ||
| CHAR * | pDeviceKey | ||
| ) |
Returns the device ID and device key of the currently connected QC WWAN device.
| deviceIDSize |
|
| pDeviceID[OUT] |
|
| deviceKeySize |
|
| pDeviceKey[OUT] |
|
Enumerates the QC WWAN devices currently attached to the host. This API MUST be called before any other API.
| pDeviceID[IN] |
|
| pDeviceKey[IN] |
|
| ULONG QCWWANDisconnect | ( | ) |
Disconnects the Connection Manager API from a previously connected QC device. This function de-registers all the callback functions that have been registered.
| none |
Enumerates the QC WWAN devices currently attached to the host. This API is deprecated; use QCWWAN2kEnumerateDevices() instead.
| pDeviceSize[IN/OUT] |
|
| pDevices[IN/OUT] |
|
Set the location of the SLQS executable
| pPath[IN] | - Pointer to fully qualified path of SLQS executable (includes the executable file’s name) |
Returns the usbnet statistics for a particular PDN.
| pNetStatistic[OUT] |
| |
| [in] | instance |
|
| ULONG SLQSGetUsbPortNames | ( | struct DcsUsbPortNames * | pUsbPortNames | ) |
| ULONG SLQSKillSDKProcess | ( | ) |
Kill the SDK process
| none |
Limit Syslog messages according to the Mask provided by user
| mask |
|
Create the SDK process and IPC sockets for the Application and SDK processes to communicate over.
| [in] | modem_index |
|
| [in] | sn | This field is optional, it can be serial number or usb path for multiple modem feature, it can be retrieved from sytem command "dmesg" when specified, the modem_index will be mapping to sn or usb path Please set to NULL when not used |
Create IPC sockets for AirVantage Agent and SDK processes to communicate over
| none |
Registers/deregisters for service with unsolicited notifications
| action,1 | for register, 0 for deregister |
| mask |
|