|
libpack
SLQS03.03.10
|
Go to the source code of this file.
Macros | |
| #define | NAS_OTA_MESSAGE_MAX_BUF_SIZE 2048 |
| #define | NAS_MAX_NUM_NETWORKS 30 |
| #define | NAS_MAX_DESCRIPTION_LENGTH 255 |
| #define | NAS_PLMN_LENGTH 3 |
| #define | NAS_SERVING_SYSTEM_INFO_MAX_RADIO_INTERFACE_LIST 255 |
| #define NAS_MAX_DESCRIPTION_LENGTH 255 |
| #define NAS_MAX_NUM_NETWORKS 30 |
| #define NAS_OTA_MESSAGE_MAX_BUF_SIZE 2048 |
| #define NAS_PLMN_LENGTH 3 |
| #define NAS_SERVING_SYSTEM_INFO_MAX_RADIO_INTERFACE_LIST 255 |
| int pack_nas_GetACCOLC | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_GetANAAAAuthenticationStatus | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_GetCDMANetworkParameters | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_GetHomeNetwork | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
get home network pack
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_GetNetworkPreference | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_GetRFInfo | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
get rf info pack
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_GetServingNetwork | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_GetServingNetworkCapabilities | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_GetSignalStrengths | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReq, | ||
| uint16_t * | pLen | ||
| ) |
get signal strengths pack
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_PerformNetworkScan | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_SetACCOLC | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SetACCOLC_t | reqParam | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | reqParam | request Parameters |
| int pack_nas_SetLURejectCallback | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| uint8_t * | pBenable | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | bEnable | 0/1 value to disable/enable indication respectively |
| int pack_nas_SetNetworkPreference | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SetNetworkPreference_t * | reqArg | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | pack | default prototype |
| int pack_nas_SetRFInfoCallback | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| uint8_t * | pBenable | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | bEnable | 0/1 value to disable/enable indication respectively |
| int pack_nas_SlqsGetLTECphyCAInfo | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_SLQSGetPLMNName | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SLQSGetPLMNName_t * | reqArg | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | reqArg | request prarmeters |
| int pack_nas_SLQSGetServingSystem | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_SLQSGetSignalStrength | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| uint16_t | reqMask | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | reqMask | request mask for fetching extra signal info |
| int pack_nas_SLQSGetSysInfo | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_SLQSGetSysSelectionPref | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_SLQSInitiateNetworkRegistration | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SLQSInitiateNetworkRegistration_t * | pReqParam | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | pReqParam | request Parameters |
| int pack_nas_SLQSNasConfigSigInfo2 | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SLQSNasConfigSigInfo2_t * | pReqParam | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | reqParam | request Parameters |
| int pack_nas_SLQSNasGetCellLocationInfo | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReqBuf | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_SLQSNasGetSigInfo | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
get sig info pack
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_SLQSNasIndicationRegisterExt | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SLQSNasIndicationRegisterExt_t * | pReqParam | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | reqParam | request Parameters |
| int pack_nas_SLQSNasSwiModemStatus | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int pack_nas_SLQSNasSwiOTAMessageCallback | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SLQSNasSwiOTAMessageCallback_t * | pReqParam | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | pReqParam | request prarmeters |
| int pack_nas_SLQSSetBandPreference | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| uint64_t | bandPref | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | band | preference |
| int pack_nas_SLQSSetSignalStrengthsCallback | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SLQSSetSignalStrengthsCallback_t * | pReqParam | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | pReqParam | request prarmeters |
| int pack_nas_SLQSSetSysSelectionPref | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen, | ||
| pack_nas_SLQSSetSysSelectionPref_t * | pReqParam | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| [in] | reqParam | request Parameters |
| int pack_nas_SLQSSwiGetLteCQI | ( | pack_qmi_t * | pCtx, |
| uint8_t * | pReqBuf, | ||
| uint16_t * | pLen | ||
| ) |
| [in,out] | pCtx | qmi request context |
| [out] | pReq | qmi request buffer |
| [out] | pLen | qmi request length |
| int unpack_nas_GetACCOLC | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| uint8_t * | pAccolc | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pAccolc | accolc |
| int unpack_nas_GetANAAAAuthenticationStatus | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| uint32_t * | pAuthStatus | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | authStatus | auth status |
| int unpack_nas_GetCDMANetworkParameters | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_GetCDMANetworkParameters_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOutput | qmi output parameters |
| int unpack_nas_GetHomeNetwork | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_GetHomeNetwork_t * | pOutput | ||
| ) |
get home network unpack
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_GetNetworkPreference | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_GetNetworkPreference_t * | pOutput | ||
| ) |
| int unpack_nas_GetRFInfo | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_GetRFInfo_t * | pOutput | ||
| ) |
get rf info unpack
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_GetServingNetwork | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_GetServingNetwork_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_GetServingNetworkCapabilities | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_GetServingNetworkCapabilities_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_GetSignalStrengths | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_GetSignalStrengths_t * | pOutput | ||
| ) |
get signal strengths unpack
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_PerformNetworkScan | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_PerformNetworkScan_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_SetACCOLC | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SetDataCapabilitiesCallback_ind | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SetDataCapabilitiesCallback_ind_t * | pOutput | ||
| ) |
Data Capabilities indication unpack
| [in] | pResp | qmi indication from modem |
| [in] | respLen | qmi indication length |
| [out] | pOuput | indication unpacked |
| int unpack_nas_SetEventReportInd | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SetEventReportInd_t * | pOutput | ||
| ) |
| int unpack_nas_SetLURejectCallback | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SetNetworkPreference | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SetNetworkPreference_t * | pOutput | ||
| ) |
| int unpack_nas_SetRFInfoCallback | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SetRoamingIndicatorCallback_ind | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SetRoamingIndicatorCallback_ind_t * | pOutput | ||
| ) |
Roaming indication unpack
| [in] | pResp | qmi indication from modem |
| [in] | respLen | qmi indication length |
| [out] | pOuput | indication unpacked |
| int unpack_nas_SetServingSystemCallback_ind | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SetServingSystemCallback_ind_t * | pOutput | ||
| ) |
| int unpack_nas_SlqsGetLTECphyCAInfo | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SlqsGetLTECphyCAInfo_t * | pOutput | ||
| ) |
| int unpack_nas_SLQSGetPLMNName | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSGetPLMNName_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_nas_SLQSGetServingSystem | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSGetServingSystem_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_SLQSGetSignalStrength | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSGetSignalStrength_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_SLQSGetSysInfo | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSGetSysInfo_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_SLQSGetSysSelectionPref | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSGetSysSelectionPref_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_SLQSInitiateNetworkRegistration | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SLQSNasConfigSigInfo2 | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SLQSNasGetCellLocationInfo | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSNasGetCellLocationInfo_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOutput | unpacked response |
| int unpack_nas_SLQSNasGetSigInfo | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSNasGetSigInfo_t * | pOutput | ||
| ) |
get sig info unpack
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_SLQSNasIndicationRegisterExt | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SLQSNasSigInfoCallback | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSNasSigInfoCallback_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | sig info indication unpacked |
| int unpack_nas_SLQSNasSwiModemStatus | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSNasSwiModemStatus_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_SLQSNasSwiOTAMessageCallback | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SLQSNasSwiOTAMessageCallback_ind | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSNasSwiOTAMessageCallback_ind_t * | pOutput | ||
| ) |
OTA message indication unpack
| [in] | pResp | qmi indication from modem |
| [in] | respLen | qmi indication length |
| [out] | pOuput | indication unpacked |
| int unpack_nas_SLQSNasSysInfoCallback | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSSysInfoCallback_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |
| int unpack_nas_SLQSSetBandPreference | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SLQSSetSignalStrengthsCallback | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SLQSSetSysSelectionPref | ( | uint8_t * | pResp, |
| uint16_t | respLen | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| int unpack_nas_SLQSSetSysSelectionPrefCallBack_ind | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSSetSysSelectionPrefCallBack_ind_t * | pOutput | ||
| ) |
System Selection Preference indication unpack
| [in] | pResp | qmi indication from modem |
| [in] | respLen | qmi indication length |
| [out] | pOuput | indication unpacked |
| int unpack_nas_SLQSSwiGetLteCQI | ( | uint8_t * | pResp, |
| uint16_t | respLen, | ||
| unpack_nas_SLQSSwiGetLteCQI_t * | pOutput | ||
| ) |
| [in] | pResp | qmi response from modem |
| [in] | respLen | qmi response length |
| [out] | pOuput | response unpacked |