libpack  SLQS03.03.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
swioma.h
Go to the documentation of this file.
1 
7 #ifndef __SWIOMA_H__
8 #define __SWIOMA_H__
9 #include <stdint.h>
10 #include "common.h"
11 #include "msgid.h"
12 
13 #define LIBPACK_MAX_SWIOMA_STR_LEN 255
14 
23 typedef struct {
24  uint32_t sessionType;
26 
52  pack_qmi_t *pCtx,
53  uint8_t *pReqBuf,
54  uint16_t *pLen,
56  );
57 
68 typedef struct {
69  uint32_t FwAvailability;
71 
91  uint8_t *pResp,
92  uint16_t respLen,
94  );
95 
103 typedef struct {
104  uint32_t sessionType;
106 
132  pack_qmi_t *pCtx,
133  uint8_t *pReqBuf,
134  uint16_t *pLen,
136  );
137 
154  uint8_t *pResp,
155  uint16_t respLen
156  );
157 
181  pack_qmi_t *pCtx,
182  uint8_t *pReqBuf,
183  uint16_t *pLen
184  );
185 
235 typedef struct {
236  uint32_t OMADMEnabled;
237  uint8_t FOTAdownload;
238  uint8_t FOTAUpdate;
239  uint8_t Autosdm;
240  uint8_t FwAutoCheck;
242 
262  uint8_t *pResp,
263  uint16_t respLen,
265  );
266 
267 
297 typedef struct {
298  uint8_t FOTAdownload;
299  uint8_t FOTAUpdate;
300  uint8_t *pAutosdm;
301  uint8_t *pFwAutoCheck;
303 
329  pack_qmi_t *pCtx,
330  uint8_t *pReqBuf,
331  uint16_t *pLen,
333  );
334 
351  uint8_t *pResp,
352  uint16_t respLen
353  );
354 
374 typedef struct {
375  uint32_t selection;
376  uint32_t *pDeferTime;
377  uint32_t *pRejectReason;
379 
405  pack_qmi_t *pCtx,
406  uint8_t *pReqBuf,
407  uint16_t *pLen,
409  );
410 
427  uint8_t *pResp,
428  uint16_t respLen
429  );
430 
439 typedef struct {
440  uint32_t SessionType;
442 
469  pack_qmi_t *pCtx,
470  uint8_t *pReqBuf,
471  uint16_t *pLen,
473  );
474 
561 typedef struct {
562  uint8_t Status;
564  uint8_t Severity;
565  uint16_t SourceLength;
566  uint8_t Source[LIBPACK_MAX_SWIOMA_STR_LEN];
567  uint16_t PkgNameLength;
568  uint8_t PkgName[LIBPACK_MAX_SWIOMA_STR_LEN];
569  uint16_t PkgDescLength;
570  uint8_t PkgDescription[LIBPACK_MAX_SWIOMA_STR_LEN];
571  uint16_t DateLength;
573  uint16_t TimeLength;
575  uint8_t SessionType;
576  uint8_t SessionState;
577  uint16_t RetryCount;
579 
600  uint8_t *pResp,
601  uint16_t respLen,
603  );
604 
627  pack_qmi_t *pCtx,
628  uint8_t *pReqBuf,
629  uint16_t *pLen
630  );
631 
650  uint8_t *pResp,
651  uint16_t respLen
652  );
712 typedef struct
713 {
714  uint8_t state;
715  uint8_t userInputReq;
717  uint32_t fwdloadsize;
718  uint32_t fwloadComplete;
720  uint8_t severity;
721  uint16_t versionlength;
722  uint8_t version[256];
723  uint16_t namelength;
724  uint8_t package_name[256];
726  uint8_t description[256];
727  uint8_t sessionType;
729 
753 typedef struct
754 {
755  uint8_t state;
756  uint8_t userInputReq;
758  uint16_t alertmsglength;
759  uint8_t alertmsg[256];
761 
762 /*
763  * This structure will hold the SwiOmaDmConfig session notification parameters information.
764  *
765  * \param notification
766  * - 0x01 - GPS settings change
767  * - 0x02 - Device reset
768  * - 0x03 - Device factory reset
769  * - 0x04 - CI-DC Session start
770  * - 0x05 - CI-DC Session end
771  * - 0x06 - CI-PRL Session start
772  * - 0x07 - CI-PRL Session end
773  * - 0x08 - CI-FUMO Session start
774  * - 0x09 - CI-FUMO session end
775  * - 0x0A - HFA-DC Session start
776  * - 0x0B - HFA-DC Session end
777  * - 0x0C - HFA-PRL Session start
778  * - 0x0D - HFA-PRL Session end
779  * - 0x0E - HFA-FUMO Session start
780  * - 0x0F - HFA-FUMO session end
781  * - 0x10 - NI Session start
782  *
783  * \param sessionStatus
784  * - This field will set to the session status for notifications that
785  * occur at the end of a session, zero for all other notifications
786  *
787  */
788 typedef struct
789 {
790  uint8_t notification;
791  uint16_t sessionStatus;
793 
813 typedef struct {
814  uint32_t eventType;
819 
839  uint8_t *pResp,
840  uint16_t respLen,
842  );
843 
844 #endif //__SWIOMA_H__
uint32_t * pRejectReason
Definition: swioma.h:377
unpack_omaDmConfigTlv_t SessionInfoConfig
Definition: swioma.h:816
uint16_t SourceLength
Definition: swioma.h:565
int unpack_swioma_SLQSOMADMCancelSession(uint8_t *pResp, uint16_t respLen)
uint32_t SessionType
Definition: swioma.h:440
uint16_t userInputTimeout
Definition: swioma.h:716
uint16_t TimeLength
Definition: swioma.h:573
Definition: swioma.h:374
int pack_swioma_SLQSOMADMGetSessionInfo(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMGetSessionInfo_t reqParam)
uint16_t versionlength
Definition: swioma.h:721
uint8_t state
Definition: swioma.h:755
uint8_t * pAutosdm
Definition: swioma.h:300
uint32_t selection
Definition: swioma.h:375
int unpack_swioma_SLQSOMADMSendSelection(uint8_t *pResp, uint16_t respLen)
Definition: swioma.h:235
uint32_t fwloadComplete
Definition: swioma.h:718
uint8_t SessionType
Definition: swioma.h:575
uint16_t DateLength
Definition: swioma.h:571
unpack_omaDmFotaTlv_t SessionInfoFota
Definition: swioma.h:815
int unpack_swioma_SLQSOMADMGetSettings(uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMGetSettings_t *pOutput)
uint32_t OMADMEnabled
Definition: swioma.h:236
uint8_t Severity
Definition: swioma.h:564
uint32_t eventType
Definition: swioma.h:814
Definition: swioma.h:103
uint16_t updateCompleteStatus
Definition: swioma.h:719
uint8_t FOTAdownload
Definition: swioma.h:237
uint16_t PkgNameLength
Definition: swioma.h:567
int unpack_swioma_SLQSOMADMAlertCallback_ind(uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMAlertCallback_ind_t *pOutput)
int pack_swioma_SLQSOMADMCancelSession(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMCancelSession_t reqParam)
int unpack_swioma_SLQSOMADMSetSettings(uint8_t *pResp, uint16_t respLen)
uint8_t SessionState
Definition: swioma.h:576
uint8_t FOTAdownload
Definition: swioma.h:298
uint8_t FOTAUpdate
Definition: swioma.h:238
uint8_t userInputReq
Definition: swioma.h:756
uint16_t RetryCount
Definition: swioma.h:577
uint32_t FwAvailability
Definition: swioma.h:69
uint16_t sessionStatus
Definition: swioma.h:791
uint16_t descriptionlength
Definition: swioma.h:725
uint8_t state
Definition: swioma.h:714
int unpack_swioma_SLQSOMADMAlertCallback(uint8_t *pResp, uint16_t respLen)
uint16_t UpdateCompleteStatus
Definition: swioma.h:563
int pack_swioma_SLQSOMADMGetSettings(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
uint32_t sessionType
Definition: swioma.h:24
uint8_t FOTAUpdate
Definition: swioma.h:299
uint8_t Autosdm
Definition: swioma.h:239
Definition: swioma.h:753
uint8_t severity
Definition: swioma.h:720
uint8_t userInputReq
Definition: swioma.h:715
uint8_t * pFwAutoCheck
Definition: swioma.h:301
uint8_t sessionType
Definition: swioma.h:727
int unpack_swioma_SLQSOMADMStartSession(uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMStartSession_t *pOutput)
uint32_t * pDeferTime
Definition: swioma.h:376
uint16_t namelength
Definition: swioma.h:723
int pack_swioma_SLQSOMADMSendSelection(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMSendSelection_t reqParam)
uint16_t userInputTimeout
Definition: swioma.h:757
int unpack_swioma_SLQSOMADMGetSessionInfo(uint8_t *pResp, uint16_t respLen, unpack_swioma_SLQSOMADMGetSessionInfo_t *pOutput)
uint8_t notification
Definition: swioma.h:790
Definition: swioma.h:788
uint8_t FwAutoCheck
Definition: swioma.h:240
#define LIBPACK_MAX_SWIOMA_STR_LEN
Definition: swioma.h:13
uint8_t Status
Definition: swioma.h:562
Definition: swioma.h:297
Definition: swioma.h:712
uint32_t fwdloadsize
Definition: swioma.h:717
int pack_swioma_SLQSOMADMStartSession(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMStartSession_t reqParam)
Definition: common.h:89
int pack_swioma_SLQSOMADMAlertCallback(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
uint16_t PkgDescLength
Definition: swioma.h:569
uint16_t alertmsglength
Definition: swioma.h:758
unpack_omaDmNotificationsTlv_t SessionInfoNotification
Definition: swioma.h:817
uint32_t sessionType
Definition: swioma.h:104
int pack_swioma_SLQSOMADMSetSettings(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_swioma_SLQSOMADMSetSettings_t reqParam)

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved