Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
Thermal Sensors (TS)

Files

file  qaGobiApiTs.h
 Thermal Sensor API function prototypes.
 

Data Structures

struct  ts_sensorId
 
struct  unpack_ts_SLQSTsGetSensorList_t
 
struct  pack_ts_SLQSTsRegNotTempRpt_t
 
struct  unpack_ts_SLQSTsTempRptCallback_ind_t
 
struct  sensorId
 
struct  TsGetSensorListResp
 
struct  TsRegNotTempRptReq
 

Functions

int pack_ts_SLQSTsGetSensorList (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_ts_SLQSTsGetSensorList (uint8_t *pResp, uint16_t respLen, unpack_ts_SLQSTsGetSensorList_t *pOutput)
 
int pack_ts_SLQSTsRegNotTempRpt (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_ts_SLQSTsRegNotTempRpt_t *reqArg)
 
int unpack_ts_SLQSTsRegNotTempRpt (uint8_t *pResp, uint16_t respLen)
 
int unpack_ts_SLQSTsTempRptCallback_ind (uint8_t *pResp, uint16_t respLen, unpack_ts_SLQSTsTempRptCallback_ind_t *pOutput)
 

Detailed Description

Function Documentation

◆ pack_ts_SLQSTsGetSensorList()

int pack_ts_SLQSTsGetSensorList ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen 
)

To get thermal sensor list pack

Parameters
[in,out]pCtxqmi request context
[out]pReqBufqmi request buffer
[out]pLenqmi request length
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See also
See qmerrno.h for eQCWWAN_xxx error values
5G Specific:

◆ pack_ts_SLQSTsRegNotTempRpt()

int pack_ts_SLQSTsRegNotTempRpt ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_ts_SLQSTsRegNotTempRpt_t reqArg 
)

To Register notification sensor temperature pack

Parameters
[in,out]pCtxqmi request context
[out]pReqBufqmi request buffer
[out]pLenqmi request length
[out]reqArgrequest argument.
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See also
See qmerrno.h for eQCWWAN_xxx error values
5G Specific:

◆ unpack_ts_SLQSTsGetSensorList()

int unpack_ts_SLQSTsGetSensorList ( uint8_t *  pResp,
uint16_t  respLen,
unpack_ts_SLQSTsGetSensorList_t pOutput 
)

To sensor list unpack

Parameters
[in]pRespqmi response
[in]respLenqmi response length
[out]pOutputunpacked response
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See also
See qmerrno.h for eQCWWAN_xxx error values
5G Specific:

◆ unpack_ts_SLQSTsRegNotTempRpt()

int unpack_ts_SLQSTsRegNotTempRpt ( uint8_t *  pResp,
uint16_t  respLen 
)

To Register notification temperature report unpack

Parameters
[in]pRespqmi response
[in]respLenqmi response length
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See also
See qmerrno.h for eQCWWAN_xxx error values
5G Specific:

◆ unpack_ts_SLQSTsTempRptCallback_ind()

int unpack_ts_SLQSTsTempRptCallback_ind ( uint8_t *  pResp,
uint16_t  respLen,
unpack_ts_SLQSTsTempRptCallback_ind_t pOutput 
)

Temperature Report Indication unpack

Parameters
[in]pRespqmi response from modem
[in]respLenqmi response length
[out]pOutputindication unpacked
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See also
See qmerrno.h for eQCWWAN_xxx error values
5G Specific: