TCP/IP Feature Bitmap#

This section provides a reference to the Transport Control Protocol and Internet Protocol (TCP/IP) feature bitmap in the boot configuration feature bitmaps.

Macros#

#define

Enables the TCP/IP bypass feature.

#define

Enables the DHCPv4 client feature.

#define

Enables the DHCPv6 client feature.

#define

Enables the DHCPv4 server feature.

#define

Enables the DHCPv6 server feature.

#define

Enables support for JSON objects.

#define

Enables the HTTP client feature.

#define

Enables the DNS client feature.

#define

Enables the SNMP agent feature.

#define

Enables the SSL feature.

#define

Enables the ICMP feature (ping).

#define

Enables sending configuration data to the host.

#define

Enables the FTP client feature.

#define

Enables the SNTP client feature.

#define

Enables IPv6 support.

#define

Enables raw data support.

#define

Enables the MDNSD feature.

#define

Enables the SMTP client feature.

#define

Selects the number of sockets.

#define

Enables a single SSL socket.

#define

Enables loading of public and private keys for TLS/SSL handshake.

#define

Enables loading of SSL certificates into RAM.

#define

Enables the POP3 client feature.

#define

Enables the OTAF client feature.

#define

Enables TCP/IP extension support.

Macro Definition Documentation#

SL_SI91X_TCP_IP_FEAT_BYPASS#

#define SL_SI91X_TCP_IP_FEAT_BYPASS
Value:
BIT(0)

Enables the TCP/IP bypass feature.

When this feature is enabled, the TCP/IP stack processing is bypassed, allowing raw Ethernet frames to be sent and received. This is useful for applications that require direct control over Ethernet frames or for implementing custom network protocols.

This is defined as a bit flag that can be set in the feature configuration to enable the TCP/IP bypass.


Definition at line 231 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_DHCPV4_CLIENT#

#define SL_SI91X_TCP_IP_FEAT_DHCPV4_CLIENT
Value:
BIT(2)

Enables the DHCPv4 client feature.

Note

  • Bit 1 is reserved

This feature allows the device to obtain an IPv4 address, subnet mask, default gateway, and DNS server from a DHCP server.


Definition at line 243 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_DHCPV6_CLIENT#

#define SL_SI91X_TCP_IP_FEAT_DHCPV6_CLIENT
Value:
BIT(3)

Enables the DHCPv6 client feature.

This feature allows the device to obtain an IPv6 address and other network configuration details from a DHCPv6 server.


Definition at line 253 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_DHCPV4_SERVER#

#define SL_SI91X_TCP_IP_FEAT_DHCPV4_SERVER
Value:
BIT(4)

Enables the DHCPv4 server feature.

This feature allows the device to act as a DHCPv4 server, providing IPv4 addresses and network configuration to DHCPv4 clients on the network.


Definition at line 263 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_DHCPV6_SERVER#

#define SL_SI91X_TCP_IP_FEAT_DHCPV6_SERVER
Value:
BIT(5)

Enables the DHCPv6 server feature.

This feature allows the device to act as a DHCPv6 server, providing IPv6 addresses and network configuration to DHCPv6 clients on the network.


Definition at line 273 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_JSON_OBJECTS#

#define SL_SI91X_TCP_IP_FEAT_JSON_OBJECTS
Value:
BIT(6)

Enables support for JSON objects.

This feature allows the device to handle JSON (JavaScript Object Notation) objects, which can be used for data interchange in web applications.


Definition at line 283 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_HTTP_CLIENT#

#define SL_SI91X_TCP_IP_FEAT_HTTP_CLIENT
Value:
BIT(7)

Enables the HTTP client feature.

This feature allows the device to send HTTP requests and receive HTTP responses from web servers, enabling web-based communication.


Definition at line 293 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_DNS_CLIENT#

#define SL_SI91X_TCP_IP_FEAT_DNS_CLIENT
Value:
BIT(8)

Enables the DNS client feature.

This feature allows the device to resolve domain names to IP addresses using the Domain Name System (DNS), enabling communication with servers by hostname.


Definition at line 304 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_SNMP_AGENT#

#define SL_SI91X_TCP_IP_FEAT_SNMP_AGENT
Value:
BIT(9)

Enables the SNMP agent feature.

This feature allows the device to act as an SNMP (Simple Network Management Protocol) agent, enabling network management and monitoring.


Definition at line 314 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_SSL#

#define SL_SI91X_TCP_IP_FEAT_SSL
Value:
BIT(10)

Enables the SSL feature.

This feature allows the device to use SSL (Secure Sockets Layer) for secure communication over the network, providing encryption and authentication.


Definition at line 324 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_ICMP#

#define SL_SI91X_TCP_IP_FEAT_ICMP
Value:
BIT(11)

Enables the ICMP feature (ping).

This feature allows the device to use ICMP (Internet Control Message Protocol) for network diagnostics, such as sending ping requests.


Definition at line 334 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_SEND_CONFIGS_TO_HOST#

#define SL_SI91X_TCP_IP_FEAT_SEND_CONFIGS_TO_HOST
Value:
BIT(14)

Enables sending configuration data to the host.

Note

  • Bit 12 is reserved

  • Bit 13 is reserved

This feature allows the device to send web page configuration data to the host system from the wireless configuration page.


Definition at line 348 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_FTP_CLIENT#

#define SL_SI91X_TCP_IP_FEAT_FTP_CLIENT
Value:
BIT(15)

Enables the FTP client feature.

This feature allows the device to act as an FTP (File Transfer Protocol) client, enabling file transfers to and from FTP servers.


Definition at line 358 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_SNTP_CLIENT#

#define SL_SI91X_TCP_IP_FEAT_SNTP_CLIENT
Value:
BIT(16)

Enables the SNTP client feature.

This feature allows the device to synchronize its clock with an SNTP (Simple Network Time Protocol) server, ensuring accurate timekeeping.


Definition at line 368 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_IPV6#

#define SL_SI91X_TCP_IP_FEAT_IPV6
Value:
BIT(17)

Enables IPv6 support.

This feature allows the device to use IPv6 (Internet Protocol version 6), providing a larger address space and improved routing capabilities.

Note

  • IPv6 will also be enabled if the DHCPv6 client or DHCPv6 server feature is enabled, regardless of the tcp_ip_feature_bit_map[17] setting.


Definition at line 381 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_RAW_DATA#

#define SL_SI91X_TCP_IP_FEAT_RAW_DATA
Value:
BIT(18)

Enables raw data support.

This feature allows the device to handle raw data frames, bypassing the TCP/IP stack. It is supported only in AP mode and requires the TCP_BYPASS feature to be disabled. If any packet from the host with frame type 0x1 is received by the firmware, the packet will be sent on air without TCP/IP stack processing. ARP and broadcast packets (other than DHCP packets) received on air will be sent to the host.


Definition at line 395 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_MDNSD#

#define SL_SI91X_TCP_IP_FEAT_MDNSD
Value:
BIT(19)

Enables the MDNSD feature.

This feature allows the device to use Multicast DNS (mDNS) for local network service discovery, enabling devices to find each other without a central DNS server.


Definition at line 406 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_SMTP_CLIENT#

#define SL_SI91X_TCP_IP_FEAT_SMTP_CLIENT
Value:
BIT(20)

Enables the SMTP client feature.

This feature allows the device to act as an SMTP (Simple Mail Transfer Protocol) client, enabling it to send emails.


Definition at line 416 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_TOTAL_SOCKETS#

#define SL_SI91X_TCP_IP_TOTAL_SOCKETS
Value:
(total_sockets)

Selects the number of sockets.

This macro allows the configuration of the total number of sockets available. A maximum of 10 sockets are allowed. Bits 21-24 are used to set the TOTAL_SOCKETS.


Definition at line 428 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_SINGLE_SSL_SOCKET#

#define SL_SI91X_TCP_IP_FEAT_SINGLE_SSL_SOCKET
Value:
BIT(25)

Enables a single SSL socket.

This feature allows the device to use a single SSL socket for secure communication.


Definition at line 438 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_LOAD_PUBLIC_PRIVATE_CERTS#

#define SL_SI91X_TCP_IP_FEAT_LOAD_PUBLIC_PRIVATE_CERTS
Value:
BIT(26)

Enables loading of public and private keys for TLS/SSL handshake.

This feature allows the device to load public and private keys for use in TLS/SSL handshakes.

Note

  • If a secure handshake is to be done using only a CA-certificate, then loading of private and public keys can be disabled, and these certificates can be erased from the flash using the load_cert API. If secure handshake verification of private and public keys is needed, then loading of these keys must be enabled.


Definition at line 454 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_LOAD_CERTS_INTO_RAM#

#define SL_SI91X_TCP_IP_FEAT_LOAD_CERTS_INTO_RAM
Value:
BIT(27)

Enables loading of SSL certificates into RAM.

This feature allows the device to load SSL certificates into RAM for faster access during secure communications.


Definition at line 464 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_POP3_CLIENT#

#define SL_SI91X_TCP_IP_FEAT_POP3_CLIENT
Value:
BIT(29)

Enables the POP3 client feature.

Note

  • Bit 28 is reserved

This feature allows the device to act as a POP3 (Post Office Protocol version 3) client, enabling it to retrieve emails from a POP3 server.


Definition at line 476 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_OTAF#

#define SL_SI91X_TCP_IP_FEAT_OTAF
Value:
BIT(30)

Enables the OTAF client feature.

This feature allows the device to perform over-the-air firmware (OTAF) updates, enabling it to download and install firmware updates remotely.


Definition at line 486 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h

SL_SI91X_TCP_IP_FEAT_EXTENSION_VALID#

#define SL_SI91X_TCP_IP_FEAT_EXTENSION_VALID
Value:
BIT(31)

Enables TCP/IP extension support.

This feature allows the device to use extended TCP/IP features, If this bit is enabled then only, the features present in the ext_tcp ip feature bitmap can be used.


Definition at line 496 of file components/device/silabs/si91x/wireless/inc/sl_wifi_device.h