HTTP Flags#

This section provides a reference to Si91x flags for use in the Hyper-Text Transfer Protocol (HTTP) functionality.

Macros#

#define

Bit to enable NULL delimiter for HTTP buffer instead of comma.

#define

HTTP client post big data support feature bitmap.

#define

HTTP version 1.1 support feature bitmap.

#define

Bit to enable user given content type in extended header.

#define

To specify index of SSL cert to be used for HTTPS, for index 0 leave them unset.

#define

To specify index of SSL cert to be used for HTTPS, for index 0 leave them unset.

#define

To enable SNI.

Macro Definition Documentation#

SL_SI91X_ENABLE_NULL_DELIMETER#

#define SL_SI91X_ENABLE_NULL_DELIMETER
Value:
BIT(1)

Bit to enable NULL delimiter for HTTP buffer instead of comma.


Definition at line 74 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h

SL_SI91X_SUPPORT_HTTP_POST_DATA#

#define SL_SI91X_SUPPORT_HTTP_POST_DATA
Value:
BIT(5)

HTTP client post big data support feature bitmap.


Definition at line 77 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h

SL_SI91X_HTTP_V_1_1#

#define SL_SI91X_HTTP_V_1_1
Value:
BIT(6)

HTTP version 1.1 support feature bitmap.


Definition at line 80 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h

SL_SI91X_HTTP_USER_DEFINED_CONTENT_TYPE#

#define SL_SI91X_HTTP_USER_DEFINED_CONTENT_TYPE
Value:
BIT(7)

Bit to enable user given content type in extended header.


Definition at line 83 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h

SL_SI91X_HTTPS_CERTIFICATE_INDEX_1#

#define SL_SI91X_HTTPS_CERTIFICATE_INDEX_1
Value:
BIT(9)

To specify index of SSL cert to be used for HTTPS, for index 0 leave them unset.


Definition at line 86 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h

SL_SI91X_HTTPS_CERTIFICATE_INDEX_2#

#define SL_SI91X_HTTPS_CERTIFICATE_INDEX_2
Value:
BIT(10)

To specify index of SSL cert to be used for HTTPS, for index 0 leave them unset.


Definition at line 88 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h

SL_SI91X_HTTPS_USE_SNI#

#define SL_SI91X_HTTPS_USE_SNI
Value:
BIT(11)

To enable SNI.


Definition at line 91 of file components/device/silabs/si91x/wireless/inc/sl_si91x_constants.h