|
LinuxQMISDK
SLQS04.00.18
|
SWI Open Mobile Alliance Device Management Service API function prototypes SWI AVMS QMI Service revision 1.14. More...
Go to the source code of this file.
Data Structures | |
| struct | _QmiSwiAvmsEventReportBinaryUpdateSessionInfoResp |
| struct | _QmiSwiAvmsEventReportConfigResp |
| struct | _QmiSwiAvmsEventReportNotificationResp |
| struct | _QmiSwiAvmsEventReportConnectionRequestResp |
| struct | _QmiSwiAvmsEventReportWAMSParamChangeResp |
| struct | _QmiSwiAvmsEventReportPackageIDResp |
| struct | _QmiSwiAvmsEventReportRegStatusResp |
| struct | _QmiSwiAvmsEventReportDataSessionStatusResp |
| struct | _QmiSwiAvmsEventReportSessionTypeResp |
| struct | _QmiSwiAvmsEventReportHTTPStatusResp |
| struct | _SLQSAVMSSettingsAPNInfo |
| struct | _SLQSAVMSSettingsConnectionRetryTimers |
| struct | _SLQSAVMSSettingsPeriodsInfo |
| struct | _SLQSAVMSSettings |
| struct | _SLQSAVMSSettings_v2 |
| struct | _QmiSwiAvmsSetSettingsPeriodInfo |
| struct | _QmiSwiAvmsSetSettingsAPNInfo |
| struct | _QmiSwiAvmsSetSettingsConnectionRetryTimers |
| struct | _SLQSAVMSSetSettingsReqPara |
| struct | _SLQSAVMSSetSettingsReqPara_v2 |
Macros | |
| #define | MAX_GET_SETTINGS_AVMS_APN_STRING_LENGTH 49 |
| #define | MAX_GET_SETTINGS_AVMS_UNAME_STRING_LENGTH 29 |
| #define | MAX_GET_SETTINGS_AVMS_PWD_STRING_LENGTH 29 |
| #define | QMISWIAVMSSESSIONGETINFO_BINARYUPDATESESSIONINFO_VERSION_LENGTH 128 |
| #define | QMISWIAVMSSESSIONGETINFO_BINARYUPDATESESSIONINFO_NAME_LENGTH 128 |
| #define | QMISWIAVMSSESSIONGETINFO_BINARYUPDATESESSIONINFO_DESC_LENGTH 1024 |
| #define | QMISWIAVMSSESSIONGETINFO_CONFIG_ALERT_MSG_LENGTH 200 |
| #define | MAX_AVMS_RETRY_TIMER_NUMBER 8 |
| #define | MAX_SWI_AVMS_SET_SETTING_APN_LENGTH 49 |
| #define | MAX_SWI_AVMS_SET_SETTING_UNAME_LENGTH 29 |
| #define | MAX_SWI_AVMS_SET_SETTING_PWD_LENGTH 29 |
| #define | MAX_SWI_AVMS_SET_SETTING_CONNECTION_RETRY_TIMMERS 8 |
Functions | |
| ULONG | SLQSAVMSStartSession (BYTE sessionType, ULONG *pSessionResponse) |
| ULONG | SLQSAVMSStopSession (BYTE sessiontype, BYTE *pSessionRep) |
| ULONG | SLQSAVMSGetSessionInfo (QmiSwiAvmsEventReportBinaryUpdateSessionInfoResp *pBinaryUpdteSessionInfo, QmiSwiAvmsEventReportConfigResp *pAVMSConfig, QmiSwiAvmsEventReportNotificationResp *pNotif, QmiSwiAvmsEventReportPackageIDResp *pPackageID) |
| ULONG | SLQSAVMSSelection (BYTE selection, ULONG *pDeferTime, BYTE *pClientPerfOperationFlag, BYTE *pPackageID, WORD *pRejectReason) |
| ULONG | SLQSAVMSGetSettings (SLQSAVMSSettings *settings) |
| ULONG | SLQSAVMSGetSettings_v2 (SLQSAVMSSettings_v2 *settings) |
| ULONG | SLQSAVMSSetSettings (SLQSAVMSSetSettingsReq Request) |
| ULONG | SLQSAVMSSetSettings_v2 (SLQSAVMSSetSettingsReq_v2 Request) |
| ULONG | SLQSAVMSSetSettingsIgnoreAutoReboot (SLQSAVMSSetSettingsReq Request) |
| ULONG | SLQSAVMSSetEventReport () |
SWI Open Mobile Alliance Device Management Service API function prototypes SWI AVMS QMI Service revision 1.14.
| #define MAX_AVMS_RETRY_TIMER_NUMBER 8 |
| #define MAX_GET_SETTINGS_AVMS_APN_STRING_LENGTH 49 |
| #define MAX_GET_SETTINGS_AVMS_PWD_STRING_LENGTH 29 |
| #define MAX_GET_SETTINGS_AVMS_UNAME_STRING_LENGTH 29 |
| #define MAX_SWI_AVMS_SET_SETTING_APN_LENGTH 49 |
| #define MAX_SWI_AVMS_SET_SETTING_CONNECTION_RETRY_TIMMERS 8 |
| #define MAX_SWI_AVMS_SET_SETTING_PWD_LENGTH 29 |
| #define MAX_SWI_AVMS_SET_SETTING_UNAME_LENGTH 29 |
| #define QMISWIAVMSSESSIONGETINFO_BINARYUPDATESESSIONINFO_DESC_LENGTH 1024 |
| #define QMISWIAVMSSESSIONGETINFO_BINARYUPDATESESSIONINFO_NAME_LENGTH 128 |
| #define QMISWIAVMSSESSIONGETINFO_BINARYUPDATESESSIONINFO_VERSION_LENGTH 128 |
| #define QMISWIAVMSSESSIONGETINFO_CONFIG_ALERT_MSG_LENGTH 200 |
| typedef struct _QmiSwiAvmsEventReportBinaryUpdateSessionInfoResp QmiSwiAvmsEventReportBinaryUpdateSessionInfoResp |
| bBinaryType | : Type
|
| bStat | : State
|
| bUserInputRequest | Bit mask of available user inputs.
|
| wUserInputTimeout | Timeout for user input in minutes. A value of 0 means no time-out. |
| ulPkgDownloadSize | The size (in bytes) of the update package |
| ulPkgDownloadComplete | The number of bytes being downloaded. For downloading state, this value shall be > 0 and incremented toward the pkg_dload_size. For other states, the value shall be 0 as it is meaningless. |
| wUpdateCompeteStatus | Result code.This field should be looked at only when the AVMS session is complete. |
| bSerity | Serity.
|
| wVersionLength | Length of FW Version string in bytes. |
| szVersion | FW Version string in ASCII. |
| wNameLength | Length Package Name string in bytes. |
| szName | Package Name in UCS2. |
| wDescriptionLength | Length of description in bytes. |
| szDescription | Description of Update Package in USC2. |
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| typedef struct _QmiSwiAvmsEventReportConfigResp QmiSwiAvmsEventReportConfigResp |
| bState | State.
|
| bUserInputRequest | Bit mask of available user inputs.
|
| wUserInputTimeout | Timeout for user input in seconds. A value of 0 means no time-out |
| wAlertMsgLength | Length of Alert message string in bytes. |
| szAlertMsg | Alert message in UCS2. |
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| typedef struct _QmiSwiAvmsEventReportConnectionRequestResp QmiSwiAvmsEventReportConnectionRequestResp |
| bUserInputRequest | Bit mask of available user inputs.
|
| bUserInputRequest | Timeout for user input in minutes. A value of 0 means no time-out. |
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| typedef struct _QmiSwiAvmsEventReportDataSessionStatusResp QmiSwiAvmsEventReportDataSessionStatusResp |
| bType | Notification type.
|
| wErrorCode | LWM2M Session error code.
|
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| wHTTPStatus | See RFC 7231.
|
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| bNotification | Notification.
|
| wSessionStatus | This field will set to the session status for notifications that occur at the end of a session, zero for all other notifications.
|
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| bPackageID | Package ID of the application binary that this AVMS_EVENT_ID notification is for. |
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| bRegStatus | LWM2M Registration status.
|
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| bType | Session Type.
|
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| wWamsChangeMask | Mask of WAMS parameters changed.
|
| TlvPresent | Boolean indicating the presence of the TLV in the QMI response |
| typedef struct _QmiSwiAvmsSetSettingsAPNInfo QmiSwiAvmsSetSettingsAPNInfo |
| typedef struct _QmiSwiAvmsSetSettingsConnectionRetryTimers QmiSwiAvmsSetSettingsConnectionRetryTimers |
| typedef struct _QmiSwiAvmsSetSettingsPeriodInfo QmiSwiAvmsSetSettingsPeriodInfo |
| typedef struct _SLQSAVMSSetSettingsReqPara SLQSAVMSSetSettingsReq |
Sets the AVMS settings requested (For AVC1 service).
| bAutoConnect[IN] |
|
| bAutoReboot[IN] |
|
| bFwPromptdownload[IN] |
|
| bFwPromptUpdate[IN] |
|
| FwAutoSDM[Optional] | - OMA Automatic UI Alert Response
|
| PollingTimer[Optional] |
|
| ConnectionRetryTimers[Optional] |
|
| APNInfo[Optional] |
|
| NotifStore[Optional] |
|
| PeroidInfo[Optional] |
|
| typedef struct _SLQSAVMSSetSettingsReqPara_v2 SLQSAVMSSetSettingsReq_v2 |
Sets the AVMS settings requested (For AVC2 service).
| bAutoConnect[IN] |
|
| bFwPromptdownload[IN] |
|
| bFwPromptUpdate[IN] |
|
| FwAutoSDM[Optional] | - OMA Automatic UI Alert Response
|
| PollingTimer[Optional] |
|
| ConnectionRetryTimers[Optional] |
|
| APNInfo[Optional] |
|
| NotifStore[Optional] |
|
| PeroidInfo[Optional] |
|
| bAutoReboot[Optional] |
|
| typedef struct _SLQSAVMSSettings SLQSAVMSSettings |
| typedef struct _SLQSAVMSSettings_v2 SLQSAVMSSettings_v2 |
| typedef struct _SLQSAVMSSettingsAPNInfo SLQSAVMSSettingsAPNInfo |
| typedef struct _SLQSAVMSSettingsPeriodsInfo SLQSAVMSSettingsPeriodsInfo |
| ULONG SLQSAVMSGetSessionInfo | ( | QmiSwiAvmsEventReportBinaryUpdateSessionInfoResp * | pBinaryUpdteSessionInfo, |
| QmiSwiAvmsEventReportConfigResp * | pAVMSConfig, | ||
| QmiSwiAvmsEventReportNotificationResp * | pNotif, | ||
| QmiSwiAvmsEventReportPackageIDResp * | pPackageID | ||
| ) |
Returns information related to the current AVMS session.
| pBinaryUpdteSessionInfo[OUT] |
|
| pAVMSConfig[OUT] |
|
| pNotif[OUT] |
|
| pPackageID[OUT] |
|
| ULONG SLQSAVMSGetSettings | ( | SLQSAVMSSettings * | settings | ) |
| ULONG SLQSAVMSGetSettings_v2 | ( | SLQSAVMSSettings_v2 * | settings | ) |
| ULONG SLQSAVMSSelection | ( | BYTE | selection, |
| ULONG * | pDeferTime, | ||
| BYTE * | pClientPerfOperationFlag, | ||
| BYTE * | pPackageID, | ||
| WORD * | pRejectReason | ||
| ) |
Sends the specified AVMS selection for the current network initiated session.
| selection[IN] |
|
| pDeferTime[IN] |
|
| pClientPerfOperationFlag[IN] |
|
| pPackageID[IN] |
|
| pRejectReason[IN] |
|
| ULONG SLQSAVMSSetEventReport | ( | ) |
Sets AVMS Event Report.
| NULL |
| ULONG SLQSAVMSSetSettings | ( | SLQSAVMSSetSettingsReq | Request | ) |
Sets AVMS settings requested (For AVC1 service).
| Request[IN] |
|
| ULONG SLQSAVMSSetSettings_v2 | ( | SLQSAVMSSetSettingsReq_v2 | Request | ) |
Sets AVMS settings requested (AVC2 service).
| Request[IN] |
|
| ULONG SLQSAVMSSetSettingsIgnoreAutoReboot | ( | SLQSAVMSSetSettingsReq | Request | ) |
Sets AVMS settings requested without Auto Reboot.
| Request[IN] |
|
Starts an AVMS session.
| sessionType[IN] |
|
| pSessionResponse[OUT] |
|
Stop an ongoing AVMS session.
| session[IN] |
|
| pSessionRep[OUT] |
|