Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
ts.h
Go to the documentation of this file.
1 
6 #ifndef __LITEQMI_TS_H__
7 #define __LITEQMI_TS_H__
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #include "common.h"
14 #include <stdint.h>
15 
16 #define MAX_SENSOR_LIST_LEN 255
17 #define MAX_SENSOR_ID_LEN 255
18 
34  pack_qmi_t *pCtx,
35  uint8_t *pReqBuf,
36  uint16_t *pLen);
37 
51 typedef struct
52 {
53  uint8_t sensorIdLen;
54  char sensorId[MAX_SENSOR_ID_LEN];
56 
74 typedef struct {
75  uint8_t sensorListLen;
76  ts_sensorId sensorList[MAX_SENSOR_LIST_LEN];
77  uint16_t Tlvresult;
79 
95  uint8_t *pResp,
96  uint16_t respLen,
98 
122 typedef struct {
123  ts_sensorId sensor;
124  uint8_t curTempReport;
125  float * pHighThresTemp;
126  float * pLowThresTemp;
127  uint32_t * pSeqNum;
129 
146  pack_qmi_t *pCtx,
147  uint8_t *pReqBuf,
148  uint16_t *pLen,
150 
165  uint8_t *pResp,
166  uint16_t respLen);
167 
193 typedef struct {
194  ts_sensorId sensor;
195  uint32_t type;
196  float temp;
197  uint32_t seqNum;
198  swi_uint256_t ParamPresenceMask;
200 
215  uint8_t *pResp,
216  uint16_t respLen,
218  );
219 
220 #ifdef __cplusplus
221 } /* extern "C" { */
222 #endif
223 
224 #endif
225 
Definition: qaGobiApiTs.h:34
int unpack_ts_SLQSTsGetSensorList(uint8_t *pResp, uint16_t respLen, unpack_ts_SLQSTsGetSensorList_t *pOutput)
Definition: ts.h:122
int unpack_ts_SLQSTsRegNotTempRpt(uint8_t *pResp, uint16_t respLen)
int pack_ts_SLQSTsRegNotTempRpt(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_ts_SLQSTsRegNotTempRpt_t *reqArg)
Definition: ts.h:51
int pack_ts_SLQSTsGetSensorList(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
Definition: common.h:139
int unpack_ts_SLQSTsTempRptCallback_ind(uint8_t *pResp, uint16_t respLen, unpack_ts_SLQSTsTempRptCallback_ind_t *pOutput)