|
LinuxSDK
V1.4.0.5
|
SWI CDMA specific IOTA related APIs. More...
Go to the source code of this file.
Data Structures | |
| struct | SWI_STRUCT_IOTA_State |
| struct | SWI_STRUCT_IOTA_WAPPush |
Macros | |
| #define | LENGTH_WAPUri 128 |
Typedefs | |
| typedef enum SWI_EMIOTA_EVENT_TYPE | SWI_EMIOTA_EVENT_TYPE |
| typedef enum SWI_EMIOTA_EVENT_RESULT | SWI_EMIOTA_EVENT_RESULT |
| typedef enum SWI_EMIOTA_EVENT_FAIL_REASON | SWI_EMIOTA_EVENT_FAIL_REASON |
| typedef enum SWI_EMIOTA_EVENT_ERR_CODE | SWI_EMIOTA_EVENT_ERR_CODE |
| typedef struct SWI_STRUCT_IOTA_State | SWI_STRUCT_IOTA_State |
| typedef struct SWI_STRUCT_IOTA_WAPPush | SWI_STRUCT_IOTA_WAPPush |
Functions | |
| SWI_API SWI_RCODE | SwiGetEFileInfo (const swi_charp pszEFilename, SWI_STRUCT_EFileInfo *psEFileInfo, swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiGetEFile (const swi_charp pszEFilename, swi_uint8 *pBuffer, swi_uint16 nBufLen, swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiStartIOTASession (swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiStopIOTASession (swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiSetIOTADisable (swi_bool bDisable, swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiGetIOTADisable (swi_bool *pbDisable, swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiGetIOTALog (swi_uint8 *pBuffer, swi_uint16 nBufLen, swi_uint32 timeout) |
| SWI_API SWI_RCODE | SwiGetIOTALogSize (swi_uint16 *nBufLen, swi_uint32 timeout) |
SWI CDMA specific IOTA related APIs.
Copyright (c) 2011 Sierra Wireless, Inc. All rights reserved
| #define LENGTH_WAPUri 128 |
Max URI length.
| typedef enum SWI_EMIOTA_EVENT_ERR_CODE SWI_EMIOTA_EVENT_ERR_CODE |
An enumeration of embedded IOTA failure error code.
For HTTP Error - actual HTTP error code should be captured.
| typedef enum SWI_EMIOTA_EVENT_FAIL_REASON SWI_EMIOTA_EVENT_FAIL_REASON |
An enumeration of embedded IOTA failure reason.
| typedef enum SWI_EMIOTA_EVENT_RESULT SWI_EMIOTA_EVENT_RESULT |
An enumeration of embedded IOTA result.
| typedef enum SWI_EMIOTA_EVENT_TYPE SWI_EMIOTA_EVENT_TYPE |
An enumeration of embedded IOTA event type.
| typedef struct SWI_STRUCT_IOTA_State SWI_STRUCT_IOTA_State |
Contains embedded ITOA notification data structure.
This data structure is used as a member of the notification SWI_NOTIFY_IOTA_Status. Refer to the description of SWI_NOTIFY_IOTA_Status for more detail.
| typedef struct SWI_STRUCT_IOTA_WAPPush SWI_STRUCT_IOTA_WAPPush |
Contains embedded ITOA WAP URI notification data structure.
This data structure is used as a member of the notification SWI_NOTIFY_IOTA_WAPPush. Refer to the description of SWI_NOTIFY_IOTA_WAPPush for more detail.
An enumeration of embedded IOTA failure error code.
For HTTP Error - actual HTTP error code should be captured.
An enumeration of embedded IOTA failure reason.
| SWI_API SWI_RCODE SwiGetEFile | ( | const swi_charp | pszEFilename, |
| swi_uint8 * | pBuffer, | ||
| swi_uint16 | nBufLen, | ||
| swi_uint32 | timeout | ||
| ) |
| SWI_API SWI_RCODE SwiGetEFileInfo | ( | const swi_charp | pszEFilename, |
| SWI_STRUCT_EFileInfo * | psEFileInfo, | ||
| swi_uint32 | timeout | ||
| ) |
| SWI_API SWI_RCODE SwiGetIOTADisable | ( | swi_bool * | pbDisable, |
| swi_uint32 | timeout | ||
| ) |
This function gets iota disable/enable state
| pbDisable[OUT] | pointer to save return value. TRUE: IOTA is disabled; FALSE: Enabled. |
| timeout[IN] | Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiGetIOTALog | ( | swi_uint8 * | pBuffer, |
| swi_uint16 | nBufLen, | ||
| swi_uint32 | timeout | ||
| ) |
This function gets IOTA process Log.
| pBuffer[OUT] | Buffer to hold the complete log data. |
| nBufLen[IN] | Data size. (Obtained from SwiGetIOTALogSize ) |
| timeout[IN] | Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiGetIOTALogSize | ( | swi_uint16 * | nBufLen, |
| swi_uint32 | timeout | ||
| ) |
This function gets IOTA process Log file size.
| nBufLen[OUT] | Log data size. |
| timeout[IN] | Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiSetIOTADisable | ( | swi_bool | bDisable, |
| swi_uint32 | timeout | ||
| ) |
This function disables or enables IOTA in the modem.
| bDisable[IN] | TRUE: Disable; FALSE: Enable. |
| timeout[IN] | Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiStartIOTASession | ( | swi_uint32 | timeout | ) |
This function starts Embedded IOTA session Indication of session will be notified through notification.
| timeout[IN] | Function timeout in milliseconds. |
| SWI_API SWI_RCODE SwiStopIOTASession | ( | swi_uint32 | timeout | ) |
This function stops Embedded IOTA session. Indication of session will be notified through notification.
| timeout[IN] | Function timeout in milliseconds. |