Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
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 
35 ULONG SLQSGetSdkVersion(
36  CHAR **sdkversionpp );
37 
38 /*
39  * Function designed to accept Raw QMI request parameters,
40  * package them up and send them to the modem blocking the
41  * caller until a response is received
42  *
43  * \param[in] pReqBuf
44  * - Pointer to the buffer into which the outgoing
45  * request will be built
46  *
47  * \param[in] service
48  * -QMI service type for this request
49  *
50  * \param[in] length
51  * - request parameter field length of the outgoing
52  * packet. 0 if there is no parameter field in the
53  * request
54  * \param[in] timeout
55  * - Caller-specified timeout for this
56  * request/response transaction
57  *
58  * \param[out] ppInParm
59  * - Pointer to pointer of incoming Parameter field
60  * from the modem, if any
61  *
62  * \param[out] pParamLength
63  * - Pointer to storage into which the length, if any,
64  * of the parameter field from the modem will be
65  * written
66  *
67  * \return eQCWWAN_ERR_NONE success
68  * eQCWWAN_ERR_INVALID_ARG provided pointer is NULL
69  *
70  * \note Technology Supported: N/A
71  * time-out : user input
72  *
73  */
74 ULONG SLQSSendRawQMI(
75  BYTE *pReqBuf,
76  USHORT service,
77  USHORT length,
78  ULONG timeout,
79  BYTE **ppInParm,
80  USHORT *pParamLength );
81 
98 int SLQSGetPidof( CHAR* pProcName );
99 
100 #ifdef __cplusplus
101 } /* extern "C" { */
102 #endif
103 
104 #endif /* __GOBI_API_SWI_H__ */
ULONG SLQSGetSdkVersion(CHAR **sdkversionpp)
int SLQSGetPidof(CHAR *pProcName)