00001 00011 #ifndef __GOBI_API_SWI_H__ 00012 #define __GOBI_API_SWI_H__ 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00032 ULONG SLQSGetSdkVersion( 00033 CHAR **sdkversionpp ); 00034 00035 /* 00036 * Function designed to accept Raw QMI request parameters, 00037 * package them up and send them to the modem blocking the 00038 * caller until a response is received 00039 * 00040 * \param pReqBuf[IN] 00041 * - Pointer to the buffer into which the outgoing 00042 * request will be built 00043 * 00044 * \param service[IN] 00045 * -QMI service type for this request 00046 * 00047 * \param length[IN] 00048 * - request parameter field length of the outgoing 00049 * packet. 0 if there is no parameter field in the 00050 * request 00051 * \param timeout[IN] 00052 * - Caller-specified timeout for this 00053 * request/response transaction 00054 * 00055 * \param ppInParm[OUT] - 00056 * - Pointer to pointer of incoming Parameter field 00057 * from the modem, if any 00058 * 00059 * \param pParamLength[OUT] 00060 * - Pointer to storage into which the length, if any, 00061 * of the parameter field from the modem will be 00062 * written 00063 * 00064 * \return eQCWWAN_ERR_NONE success 00065 * eQCWWAN_ERR_INVALID_ARG provided pointer is NULL 00066 * 00067 * \note Technology Supported: N/A 00068 * time-out : user input 00069 * 00070 */ 00071 ULONG SLQSSendRawQMI( 00072 BYTE *pReqBuf, 00073 USHORT service, 00074 USHORT length, 00075 ULONG timeout, 00076 BYTE **ppInParm, 00077 USHORT *pParamLength ); 00078 00079 #ifdef __cplusplus 00080 } /* extern "C" { */ 00081 #endif 00082 00083 #endif /* __GOBI_API_SWI_H__ */