LinuxQMISDK: qaGobiApiDcs.h Source File

LinuxQMISDK SLQS03.03.11

- Main Page
- Modules
- References
- Data Structures

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
qaGobiApiDcs.h
Go to the documentation of this file.
1
9 /*
10 * Copyright: © 2011-2105 Sierra Wireless, Inc. all rights reserved
11 */
12 #ifndef __GOBI_API_DCS_H__
13 #define __GOBI_API_DCS_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 #define LEN 10
20
37 #define PORTNAM_LEN 32
38 struct DcsUsbPortNames
39 {
40 CHAR AtCmdPort[PORTNAM_LEN];
41 CHAR NmeaPort [PORTNAM_LEN];
42 CHAR DmPort [PORTNAM_LEN];
43 };
44
58 struct QosMap
59 {
60 BYTE dscp;
61 ULONG qos_id;
62 BYTE state;
63 };
64
93 struct NetStats
94 {
95 ULONG rx_packets;
96 ULONG tx_packets;
97 ULONGLONG rx_bytes;
98 ULONGLONG tx_bytes;
99 ULONG rx_errors;
100 ULONG tx_errors;
101 ULONG rx_overflows;
102 ULONG tx_overflows;
103 };
104
125 ULONG QCWWAN2kEnumerateDevices(
126 BYTE *pDevicesSize,
127 BYTE *pDevices );
128
145 ULONG QCWWAN2kConnect(
146 CHAR *pDeviceID,
147 CHAR *pDeviceKey );
148
160 ULONG QCWWANDisconnect();
161
185 ULONG QCWWAN2kGetConnectedDeviceID(
186 ULONG deviceIDSize,
187 CHAR *pDeviceID,
188 ULONG deviceKeySize,
189 CHAR *pDeviceKey );
190
212 ULONG QCWWANEnumerateDevices(
213 BYTE *pDevicesSize,
214 BYTE *pDevices );
215
232 ULONG QCWWANConnect(
233 CHAR *pDeviceID,
234 CHAR *pDeviceKey);
235
247 ULONG SetSDKImagePath (
248 LPCSTR pPath );
249
263 ULONG SLQSGetUsbPortNames(
264 struct DcsUsbPortNames *pUsbPortNames );
265
266
279 ULONG SLQSStart_AVAgent(BYTE modem_index);
280
305 ULONG SLQSStart(BYTE modem_index, CHAR* usb_path);
306
323 ULONG SLQSKillSDKProcess();
324
338 ULONG SLQSGetDeviceMode(
339 BYTE *pDeviceMode );
340
366 ULONG SLQSStartSrv( BYTE action, BYTE mask );
367
381 ULONG SLQSSetLoggingMask(
382 BYTE mask );
383
399 ULONG SLQSQosMap(
400 BYTE instance,
401 BYTE dscp,
402 ULONG qos_id
403 );
404
420 ULONG SLQSQosEditMap(
421 BYTE instance,
422 BYTE dscp,
423 ULONG qos_id
424 );
425
441 ULONG SLQSQosReadMap(
442 BYTE instance,
443 BYTE dscp,
444 ULONG *qos_id
445 );
446
464 ULONG SLQSQosDumpMap(
465 BYTE instance,
466 struct QosMap *pmap,
467 BYTE *plen
468 );
469
483 ULONG SLQSQosUnmap(
484 BYTE instance,
485 BYTE dscp
486 );
487
499 ULONG SLQSQosClearMap(
500 BYTE instance
501 );
502
519 ULONG SLQSGetNetStatistic(
520 struct NetStats *pNetStatistic, BYTE instance );
521
522 #ifdef __cplusplus
523 } /* extern "C" { */
524 #endif
525
526 #endif /* __GOBI_API_DCS_H__ */
SLQSQosUnmap
ULONG SLQSQosUnmap(BYTE instance, BYTE dscp)
SLQSGetNetStatistic
ULONG SLQSGetNetStatistic(struct NetStats *pNetStatistic, BYTE instance)
CHAR
char CHAR
Definition: SwiDataTypes.h:29
NetStats::rx_errors
ULONG rx_errors
Definition: qaGobiApiDcs.h:99
NetStats
Definition: qaGobiApiDcs.h:93
NetStats::rx_packets
ULONG rx_packets
Definition: qaGobiApiDcs.h:95
SLQSSetLoggingMask
ULONG SLQSSetLoggingMask(BYTE mask)
SLQSStart_AVAgent
ULONG SLQSStart_AVAgent(BYTE modem_index)
BYTE
unsigned char BYTE
Definition: SwiDataTypes.h:28
NetStats::rx_overflows
ULONG rx_overflows
Definition: qaGobiApiDcs.h:101
SLQSGetUsbPortNames
ULONG SLQSGetUsbPortNames(struct DcsUsbPortNames *pUsbPortNames)
NetStats::tx_overflows
ULONG tx_overflows
Definition: qaGobiApiDcs.h:102
DcsUsbPortNames::AtCmdPort
CHAR AtCmdPort[32]
Definition: qaGobiApiDcs.h:40
PORTNAM_LEN
#define PORTNAM_LEN
Definition: qaGobiApiDcs.h:37
SLQSQosClearMap
ULONG SLQSQosClearMap(BYTE instance)
QosMap::dscp
BYTE dscp
Definition: qaGobiApiDcs.h:60
SLQSQosReadMap
ULONG SLQSQosReadMap(BYTE instance, BYTE dscp, ULONG *qos_id)
SLQSQosDumpMap
ULONG SLQSQosDumpMap(BYTE instance, struct QosMap *pmap, BYTE *plen)
LPCSTR
const char * LPCSTR
Definition: SwiDataTypes.h:32
SetSDKImagePath
ULONG SetSDKImagePath(LPCSTR pPath)
SLQSKillSDKProcess
ULONG SLQSKillSDKProcess()
NetStats::tx_bytes
ULONGLONG tx_bytes
Definition: qaGobiApiDcs.h:98
SLQSStart
ULONG SLQSStart(BYTE modem_index, CHAR *usb_path)
QCWWAN2kGetConnectedDeviceID
ULONG QCWWAN2kGetConnectedDeviceID(ULONG deviceIDSize, CHAR *pDeviceID, ULONG deviceKeySize, CHAR *pDeviceKey)
SLQSQosEditMap
ULONG SLQSQosEditMap(BYTE instance, BYTE dscp, ULONG qos_id)
QosMap::state
BYTE state
Definition: qaGobiApiDcs.h:62
DcsUsbPortNames
Definition: qaGobiApiDcs.h:38
QosMap
Definition: qaGobiApiDcs.h:58
SLQSStartSrv
ULONG SLQSStartSrv(BYTE action, BYTE mask)
QCWWAN2kEnumerateDevices
ULONG QCWWAN2kEnumerateDevices(BYTE *pDevicesSize, BYTE *pDevices)
SLQSGetDeviceMode
ULONG SLQSGetDeviceMode(BYTE *pDeviceMode)
ULONGLONG
unsigned long long ULONGLONG
Definition: SwiDataTypes.h:26
ULONG
unsigned long ULONG
Definition: SwiDataTypes.h:25
QCWWANEnumerateDevices
ULONG QCWWANEnumerateDevices(BYTE *pDevicesSize, BYTE *pDevices)
NetStats::rx_bytes
ULONGLONG rx_bytes
Definition: qaGobiApiDcs.h:97
NetStats::tx_packets
ULONG tx_packets
Definition: qaGobiApiDcs.h:96
SLQSQosMap
ULONG SLQSQosMap(BYTE instance, BYTE dscp, ULONG qos_id)
QosMap::qos_id
ULONG qos_id
Definition: qaGobiApiDcs.h:61
QCWWANConnect
ULONG QCWWANConnect(CHAR *pDeviceID, CHAR *pDeviceKey)
NetStats::tx_errors
ULONG tx_errors
Definition: qaGobiApiDcs.h:100
DcsUsbPortNames::NmeaPort
CHAR NmeaPort[32]
Definition: qaGobiApiDcs.h:41
QCWWAN2kConnect
ULONG QCWWAN2kConnect(CHAR *pDeviceID, CHAR *pDeviceKey)
QCWWANDisconnect
ULONG QCWWANDisconnect()
DcsUsbPortNames::DmPort
CHAR DmPort[32]
Definition: qaGobiApiDcs.h:42