LinuxQMISDK: qaGobiApiSwi.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
qaGobiApiSwi.h
Go to the documentation of this file.
1
9 /*
10 * Copyright: © 2011-2015 Sierra Wireless, Inc. all rights reserved
11 */
12 #ifndef __GOBI_API_SWI_H__
13 #define __GOBI_API_SWI_H__
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
33 ULONG SLQSGetSdkVersion(
34 CHAR **sdkversionpp );
35
36 /*
37 * Function designed to accept Raw QMI request parameters,
38 * package them up and send them to the modem blocking the
39 * caller until a response is received
40 *
41 * \param pReqBuf[IN]
42 * - Pointer to the buffer into which the outgoing
43 * request will be built
44 *
45 * \param service[IN]
46 * -QMI service type for this request
47 *
48 * \param length[IN]
49 * - request parameter field length of the outgoing
50 * packet. 0 if there is no parameter field in the
51 * request
52 * \param timeout[IN]
53 * - Caller-specified timeout for this
54 * request/response transaction
55 *
56 * \param ppInParm[OUT] -
57 * - Pointer to pointer of incoming Parameter field
58 * from the modem, if any
59 *
60 * \param pParamLength[OUT]
61 * - Pointer to storage into which the length, if any,
62 * of the parameter field from the modem will be
63 * written
64 *
65 * \return eQCWWAN_ERR_NONE success
66 * eQCWWAN_ERR_INVALID_ARG provided pointer is NULL
67 *
68 * \note Technology Supported: N/A
69 * time-out : user input
70 *
71 */
72 ULONG SLQSSendRawQMI(
73 BYTE *pReqBuf,
74 USHORT service,
75 USHORT length,
76 ULONG timeout,
77 BYTE **ppInParm,
78 USHORT *pParamLength );
79
94 int SLQSGetPidof( CHAR* pProcName );
95
96 #ifdef __cplusplus
97 } /* extern "C" { */
98 #endif
99
100 #endif /* __GOBI_API_SWI_H__ */
CHAR
char CHAR
Definition: SwiDataTypes.h:29
BYTE
unsigned char BYTE
Definition: SwiDataTypes.h:28
USHORT
unsigned short USHORT
Definition: SwiDataTypes.h:31
ULONG
unsigned long ULONG
Definition: SwiDataTypes.h:25
SLQSGetSdkVersion
ULONG SLQSGetSdkVersion(CHAR **sdkversionpp)
SLQSGetPidof
int SLQSGetPidof(CHAR *pProcName)
SLQSSendRawQMI
ULONG SLQSSendRawQMI(BYTE *pReqBuf, USHORT service, USHORT length, ULONG timeout, BYTE **ppInParm, USHORT *pParamLength)