|
libpack
SLQS03.03.10
|
Device Management Service API function prototypes. More...
Go to the source code of this file.
Data Structures | |
| struct | serialNumbersInfo |
| struct | ERIFileparams |
| struct | custFeaturesInfo |
| struct | custFeaturesSetting |
| struct | dmsCurrentPRLInfo |
| struct | FactorySequenceNumber |
| struct | CurrImageInfo |
| struct | CurrentImgList |
| struct | FirmwareUpdatStat |
| struct | USBCompParams |
| struct | USBCompConfig |
| struct | CrashInfo |
| struct | CrashInfoParams |
| struct | _SLQSSwiGetHostDevInfoParams |
| struct | _SLQSSwiSetHostDevInfoParams |
| struct | _SLQSSwiGetOSInfoParams |
| struct | _SLQSSwiSetOSInfoParams |
| struct | _SLQSSwiGetSerialNoExtParams |
| struct | setCustomSettingV2 |
| struct | getCustomInput |
| struct | custSettingInfo |
| struct | custSettingList |
| struct | getCustomFeatureV2 |
| struct | getDyingGaspCfg |
| struct | setDyingGaspCfg |
| struct | getDyingGaspStatistics |
| struct | dmsIndicationRegisterReq |
| struct | dmsSwiGetResetInfo |
Macros | |
| #define | MAX_FSN_LENGTH 255 |
| #define | MAX_BUILD_ID_LEN 255 |
| #define | UNIQUE_ID_LEN 16 |
| #define | IMGDETAILS_LEN 16 |
| #define | MAX_CUST_ID_LEN 64 |
| #define | MAX_CUST_VALUE_LEN 8 |
| #define | MAX_DYING_GASP_CFG_SMS_CONTENT_LENGTH 160 |
| #define | MAX_DYING_GASP_CFG_SMS_NUMBER_LENGTH 20 |
Typedefs | |
| typedef struct serialNumbersInfo | serialNumbersInfo |
| typedef struct ERIFileparams | ERIFileparams |
| typedef struct custFeaturesInfo | custFeaturesInfo |
| typedef struct custFeaturesSetting | custFeaturesSetting |
| typedef struct dmsCurrentPRLInfo | dmsCurrentPRLInfo |
| typedef struct _SLQSSwiGetHostDevInfoParams | SLQSSwiGetHostDevInfoParams |
| typedef struct _SLQSSwiSetHostDevInfoParams | SLQSSwiSetHostDevInfoParams |
| typedef struct _SLQSSwiGetOSInfoParams | SLQSSwiGetOSInfoParams |
| typedef struct _SLQSSwiSetOSInfoParams | SLQSSwiSetOSInfoParams |
| typedef struct _SLQSSwiGetSerialNoExtParams | SLQSSwiGetSerialNoExtParams |
Device Management Service API function prototypes.
| #define IMGDETAILS_LEN 16 |
| #define MAX_BUILD_ID_LEN 255 |
| #define MAX_CUST_ID_LEN 64 |
| #define MAX_CUST_VALUE_LEN 8 |
| #define MAX_DYING_GASP_CFG_SMS_CONTENT_LENGTH 160 |
| #define MAX_DYING_GASP_CFG_SMS_NUMBER_LENGTH 20 |
| #define MAX_FSN_LENGTH 255 |
| #define UNIQUE_ID_LEN 16 |
| typedef struct custFeaturesInfo custFeaturesInfo |
This structure contains current settings of custom features
| GpsEnable[OUT] |
|
| pDisableIMSI[OUT] |
|
| pIPFamSupport[OUT] |
|
| pRMAutoConnect[OUT] |
|
| pGPSSel[OUT] |
|
| pSMSSupport[OUT] |
|
| pIsVoiceEnabled[OUT] |
|
| pDHCPRelayEnabled[OUT] |
|
| pGPSLPM[OUT] |
|
| typedef struct custFeaturesSetting custFeaturesSetting |
This structure contains settings to be used for custom features
| pGPSSel | |
| pGPSEnable |
|
| pIsVoiceEnabled |
|
| pDHCPRelayEnabled |
|
| pGPSLPM |
|
| typedef struct dmsCurrentPRLInfo dmsCurrentPRLInfo |
This structure contains GetCurrentPRLInfo response parameter
| pPRLVersion[OUT] | - Optional
|
| pPRLPreference | [OUT]- Optional
|
| typedef struct ERIFileparams ERIFileparams |
This structure contains Extended Roaming Indicator(ERI) file parameters
| pFileSize[IN/OUT] |
|
| pFile[OUT] |
|
| typedef struct serialNumbersInfo serialNumbersInfo |
Returns all the serial numbers assigned to the device. These serial numbers include the ESN (Electronic serial number of the device), the IMEI (International Mobile Equipment Identity) and MEID (Mobile Equipment Identifier).
| esnSize |
|
| pESNString[OUT] |
|
| imeiSize |
|
| pIMEIString[OUT] |
|
| meidSize |
|
| pMEIDString[OUT] |
|
| imeiSvnSize |
|
| pImeiSvnString[OUT] |
|
| typedef struct _SLQSSwiGetHostDevInfoParams SLQSSwiGetHostDevInfoParams |
This structure is used to Get Host Device Information
| bManSize[IN/OUT] |
|
| pManString[OUT] |
|
| bModelSize[IN/OUT] |
|
| pModelString[OUT] |
|
| bSWVerSize[IN/OUT] |
|
| pSWVerString[OUT] |
|
| bPlasmaIDSize[IN/OUT] |
|
| pPlasmaIDString[OUT] |
|
| typedef struct _SLQSSwiGetOSInfoParams SLQSSwiGetOSInfoParams |
This structure is used to Get OS Information
| bNameSize[IN/OUT] |
|
| pNameString[OUT] |
|
| bVersionSize[IN/OUT] |
|
| pVersionString[OUT] |
|
| typedef struct _SLQSSwiGetSerialNoExtParams SLQSSwiGetSerialNoExtParams |
This structure is used to store MEID Information
| meidLength[OUT] |
|
| pMeidString[OUT] |
|
| typedef struct _SLQSSwiSetHostDevInfoParams SLQSSwiSetHostDevInfoParams |
This structure is used to Set Host Device Information
| bManSize[IN] |
|
| pManString[IN] |
|
| bModelSize[IN] |
|
| pModelString[IN] |
|
| bSWVerSize[IN] |
|
| pSWVerString[IN] |
|
| bPlasmaIDSize[IN] |
|
| pPlasmaIDString[IN] |
|
| typedef struct _SLQSSwiSetOSInfoParams SLQSSwiSetOSInfoParams |
This structure is used to Set OS Information
| bNameSize[IN] |
|
| pNameString[IN] |
|
| bVersionSize[IN] |
|
| pVersionString[IN] |
|
Requests the device to perform automatic service activation
| pActivationCode[IN] |
|
Returns the device activation state.
| pActivationState[OUT] |
|
| ULONG GetDeviceCapabilities | ( | ULONG * | pMaxTXChannelRate, |
| ULONG * | pMaxRXChannelRate, | ||
| ULONG * | pDataServiceCapability, | ||
| ULONG * | pSimCapability, | ||
| ULONG * | pRadioIfacesSize, | ||
| BYTE * | pRadioIfaces | ||
| ) |
Gets the device capabilities
| pMaxTXChannelRate[OUT] |
|
| pMaxRXChannelRate[OUT] |
|
| pDataServiceCapability[OUT] |
|
| pSimCapability[OUT] |
|
| pRadioIfacesSize[IN/OUT] |
|
| pRadioIfaces[OUT] |
|
Returns the device firmware revision
| stringSize |
|
| pString[OUT] |
|
| ULONG GetFirmwareRevisions | ( | BYTE | amssSize, |
| CHAR * | pAMSSString, | ||
| BYTE | bootSize, | ||
| CHAR * | pBootString, | ||
| BYTE | priSize, | ||
| CHAR * | pPRIString | ||
| ) |
Returns the device firmware revisions (AMSS, boot, and PRI)
| amssSize |
|
| pAMSSString[OUT] |
|
| bootSize |
|
| pBootString[OUT] |
|
| priSize |
|
| pPRIString[OUT] |
|
Returns the hardware revision of the device
| stringSize |
|
| pString[OUT] |
|
Returns the device IMSI. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions.
| stringSize |
|
| pString[OUT] |
|
Returns the device manufacturer name
| stringSize |
|
| pString[OUT] |
|
Returns the device model ID
| stringSize |
|
| pString[OUT] |
|
Returns the current time of the device based on the value supported by the network.
| pTimeStamp[OUT] |
|
| pTimeSource[OUT] |
|
Returns reason why the operating mode of the device is currently offline.
| pReasonMask[OUT] |
|
| pbPlatform[OUT] |
|
Returns the operating mode of the device.
| pPowerMode[OUT] |
|
Returns the version of the active Preferred Roaming List (PRL) in use by the device.
| pPRLVersion[OUT] |
|
| ULONG GetSerialNumbers | ( | BYTE | esnSize, |
| CHAR * | pESNString, | ||
| BYTE | imeiSize, | ||
| CHAR * | pIMEIString, | ||
| BYTE | meidSize, | ||
| CHAR * | pMEIDString | ||
| ) |
Returns all the serial numbers assigned to the device. These serial numbers include the ESN (Electronic serial number of the device), the IMEI (International Mobile Equipment Identity) and MEID (Mobile Equipment Identifier).
| esnSize |
|
| pESNString[OUT] |
|
| imeiSize |
|
| pIMEIString[OUT] |
|
| meidSize |
|
| pMEIDString[OUT] |
|
Returns the voice number in use by the device
| voiceNumberSize |
|
| pVoiceNumber[OUT] |
|
| minSize |
|
| pMIN[OUT] |
|
Resets to default factory settings of the device
| pSPC[IN] |
|
Sets the operating mode of the device.
| powerMode[IN] |
|
| ULONG SLQSDmsSwiGetResetInfo | ( | dmsSwiGetResetInfo * | pGetResetInfoResp | ) |
This function is used to get reset info
| pGetResetInfoResp |
|
| ULONG SLQSDmsSwiIndicationRegister | ( | dmsIndicationRegisterReq * | pIndicationRegisterReq | ) |
This function used to set Swi Indication Register
| pConfig |
|
Returns the band capability of the device.
| pBandCapability[OUT] | Bitmask of bands supported by the device
|
| ULONG SLQSGetCurrentPRLInfo | ( | dmsCurrentPRLInfo * | pCurrentPRLInfo | ) |
This API get the currently active PRL information of the device.
| pCurrentPRLInfo |
|
| ULONG SLQSGetCustFeatures | ( | custFeaturesInfo * | pCustFeaturesInfo | ) |
This API fetches the current settings of custom features
| pCustFeaturesInfo |
|
| ULONG SLQSGetCustFeaturesV2 | ( | getCustomFeatureV2 * | pGetCustomFeatureV2 | ) |
This function queries the modem for a list of supported features. This function is for firmware version 2.0 and newer. Currently supported Customization features:
| pGetCustomFeatureV2 |
|
| ULONG SLQSGetERIFile | ( | ERIFileparams * | pERIFileparams | ) |
Returns the Extended Roaming Indicator (ERI) file that is stored in EFS on the device at a predetermined location. See the carrier requirements for specific details.
| pERIFileparams |
|
| ULONG SLQSGetSerialNumbers | ( | serialNumbersInfo * | pSerialNumbersInfo | ) |
Returns all the serial numbers assigned to the device. These serial numbers include the ESN (Electronic serial number of the device), the IMEI (International Mobile Equipment Identity), MEID (Mobile Equipment Identifier) and IMEI SVN (IMEI software version number).
| ULONG SLQSSetCustFeatures | ( | custFeaturesSetting * | pCustFeaturesSetting | ) |
This API changes the settings of custom features, a reset is required for any settings that are changed to take effect.
| pCustFeaturesSetting[IN] |
|
| ULONG SLQSSetCustFeaturesV2 | ( | setCustomSettingV2 * | pSetCustSetting | ) |
This function sets the modem for a list of supported features. This function is for firmware version 2.0 and newer. Currently supported customization features:
| pSetCustSetting |
|
| ULONG SLQSSwiClearDyingGaspStatistics | ( | ) |
This function Clear Dying GASP Statistics.
This API queries the Crash State from the device.
| pDevCrashState[OUT] |
|
| ULONG SLQSSwiGetCrashInfo | ( | BYTE * | pClear, |
| CrashInfoParams * | pCrashInfoParams | ||
| ) |
This API queries the Crash Information from the device.
| pClear[IN] |
|
| pCrashInfoParams[Out] |
|
| ULONG SLQSSwiGetDyingGaspCfg | ( | getDyingGaspCfg * | pConfig | ) |
This function queries Dying GASP Config.
| pGetCustomFeatureV2 |
|
| ULONG SLQSSwiGetDyingGaspStatistics | ( | getDyingGaspStatistics * | pStatistics | ) |
This function queries Dying GASP Statistics.
| pStatistics |
|
| ULONG SLQSSwiGetFirmwareCurr | ( | CurrentImgList * | pCurrentImgList | ) |
This API gets the currently active images on the device.
| pCurrentImgList |
|
| ULONG SLQSSwiGetFSN | ( | FactorySequenceNumber * | pFSNumber | ) |
This API get the Factory Sequence Number of the device.
| pFSNumber |
|
| ULONG SLQSSwiGetFwUpdateStatus | ( | FirmwareUpdatStat * | pFirmwareUpdatStat | ) |
This API will be used to query last firmware update status. The firmware status is stored in RAM and can be retained over warm resets but not power off resets.
| pFirmwareUpdatStat |
|
| ULONG SLQSSwiGetHostDevInfo | ( | SLQSSwiGetHostDevInfoParams * | pGetHostDevInfoParams | ) |
This API Get Host Information from the device.
| pGetHostDevInfoParams |
|
| ULONG SLQSSwiGetOSInfo | ( | SLQSSwiGetOSInfoParams * | pParams | ) |
This API queries the device operating system info configured on the modem for OMA-DM reporting
| pParams |
|
| ULONG SLQSSwiGetSerialNoExt | ( | SLQSSwiGetSerialNoExtParams * | pParams | ) |
This API is used to get the MEID of the modem. For CDMA devices that use a RUIM, the MEID of the modem will always be returned.
| SLQSSwiGetSerialNoExtParams |
| ULONG SLQSSwiGetUSBComp | ( | USBCompParams * | pUSBCompParams | ) |
This API queries the modem's USB interface configuration and supported configuration parameters.
| pUSBCompParams |
|
This API set the Crash Action to the device.
| crashActionParams[IN] |
|
| ULONG SLQSSwiSetDyingGaspCfg | ( | setDyingGaspCfg * | pConfig | ) |
This function set Dying GASP Config.
| pConfig |
|
| ULONG SLQSSwiSetHostDevInfo | ( | SLQSSwiSetHostDevInfoParams * | pSetHostDevInfoParams | ) |
This API Sets the host device info configured on the modem for OMA-DM reporting
| pSetHostDevInfoParams |
|
| ULONG SLQSSwiSetOSInfo | ( | SLQSSwiSetOSInfoParams * | pParams | ) |
This API Set OS Information to the device.
| pParams |
|
| ULONG SLQSSwiSetUSBComp | ( | USBCompConfig * | pUSBCompConfig | ) |
This API is used to change the modem's USB interface configuration thus allowing a device to have multiple USB compositions. Devices will, by default, be configured to support a minimal set of interfaces to reduce end user modem installation time. Developers and some customers, however, require access to a custom set of interfaces. A reset is required for any change in the USB composition to take effect.
| pUSBCompConfig |
|
Returns the UIM state. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSUIMGetCardStatus() for new firmware versions and new modules
| pUIMState[OUT] |
|
| ULONG UIMChangePIN | ( | ULONG | id, |
| CHAR * | pOldValue, | ||
| CHAR * | pNewValue, | ||
| ULONG * | pVerifyRetriesLeft, | ||
| ULONG * | pUnblockRetriesLeft | ||
| ) |
Changes the PIN value for a given PIN. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSUIMChangePin() for new firmware versions and new modules
| id[IN] |
|
| pOldValue[IN] |
|
| pNewValue[IN] |
|
| pVerifyRetriesLeft[OUT] |
|
| pUnblockRetriesLeft[OUT] |
|
| ULONG UIMGetControlKeyStatus | ( | ULONG | id, |
| ULONG * | pStatus, | ||
| ULONG * | pVerifyRetriesLeft, | ||
| ULONG * | pUnblockRetriesLeft | ||
| ) |
Returns the status of the specified UIM facility control key. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions.
| id[IN] |
|
| pStatus[OUT] |
|
| pVerifyRetriesLeft[OUT] |
|
| pUnblockRetriesLeft[OUT] |
|
Returns the UIM ICCID. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions.
| stringSize |
|
| pString[OUT] |
|
| ULONG UIMGetPINStatus | ( | ULONG | id, |
| ULONG * | pStatus, | ||
| ULONG * | pVerifyRetriesLeft, | ||
| ULONG * | pUnblockRetriesLeft | ||
| ) |
Gets the status of the SIM PINs. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSUIMGetCardStatus() for new firmware versions and new modules
| id |
|
| pStatus[OUT] |
|
| pVerifyRetriesLeft[OUT] |
|
| pUnblockRetriesLeft[OUT] |
|
| ULONG UIMSetControlKeyProtection | ( | ULONG | id, |
| ULONG | status, | ||
| CHAR * | pValue, | ||
| ULONG * | pVerifyRetriesLeft | ||
| ) |
Changes the specified UIM facility control key. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSUIMDepersonalization() for new firmware versions and new modules
| id[IN] |
|
| status[IN] |
|
| pValue[IN] |
|
| pVerifyRetriesLeft[OUT] |
|
| ULONG UIMSetPINProtection | ( | ULONG | id, |
| ULONG | bEnable, | ||
| CHAR * | pValue, | ||
| ULONG * | pVerifyRetriesLeft, | ||
| ULONG * | pUnblockRetriesLeft | ||
| ) |
Enables or disables protection of SIM contents for a given PIN, This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSUIMSetPinProtection() for new firmware versions and new modules
| id[IN] |
|
| bEnable[IN] |
|
| pValue[IN] |
|
| pVerifyRetriesLeft[OUT] |
|
| pUnblockRetriesLeft[OUT] |
|
Unblocks the specified UIM facility control key. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSUIMDepersonalization() for new firmware versions and new modules
| id[IN] |
|
| pValue[IN] |
|
| pUnblockRetriesLeft[OUT] |
|
| ULONG UIMUnblockPIN | ( | ULONG | id, |
| CHAR * | pPUKValue, | ||
| CHAR * | pNewValue, | ||
| ULONG * | pVerifyRetriesLeft, | ||
| ULONG * | pUnblockRetriesLeft | ||
| ) |
Unblocks a blocked SIM. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSUIMUnblockPin() for new firmware versions and new modules
| id[IN] |
|
| pPUKValue[IN] |
|
| pNewValue[IN] |
|
| pVerifyRetriesLeft[OUT] |
|
| pUnblockRetriesLeft[OUT] |
|
| ULONG UIMVerifyPIN | ( | ULONG | id, |
| CHAR * | pValue, | ||
| ULONG * | pVerifyRetriesLeft, | ||
| ULONG * | pUnblockRetriesLeft | ||
| ) |
Verifies a SIM PIN. This API is deprecated on MC73xx/EM73xx modules since firmware version SWI9X15C_05_xx_xx_xx and all EM74xx firmware versions. Please use API SLQSUIMVerifyPin()() for new firmware versions and new modules
| id[IN] |
|
| pValue[IN] |
|
| pVerifyRetriesLeft[OUT] |
|
| pUnblockRetriesLeft[OUT] |
|
This function Validates Service Programming code of the device
| pSPC[IN] |
|