Analog Devices Wi-Fi Software Reference Manual  Release 1.0.0
Modules | Macros
Wi-Fi System Software

Modules

 Wi-Fi Software Configuration
 Configuration Macros.
 
 Radio Module
 Radio Module.
 
 Transport Abstraction Layer
 Transport Abstraction Layer (TAL) API.
 
 Non-RTOS Framework Layer
 Non-RTOS Framework Functions.
 

Macros

#define ADI_WIFI_MAX_DATA_SIZE   (256u)
 
#define ADI_WIFI_MAX_DATA_SIZE_ASCII   (4u)
 
#define ADI_WIFI_MQTT_PACKET_SIZE   (60u)
 

Detailed Description

Macro Definition Documentation

§ ADI_WIFI_MAX_DATA_SIZE

#define ADI_WIFI_MAX_DATA_SIZE   (256u)

Maximum number of bytes in a single read/write operation. This is an estimated number. The actual max packet size is 2048 bytes for the ESP8266 so there is a tradeoff between memory allocation and functionality of the radio.

§ ADI_WIFI_MAX_DATA_SIZE_ASCII

#define ADI_WIFI_MAX_DATA_SIZE_ASCII   (4u)

Maximum number of ascii characters that could come in as a message size. The real maximum buffer size for the ESP8266 is 1024 bytes. This is 4 ascii characters "1" "0" "2" "4".

§ ADI_WIFI_MQTT_PACKET_SIZE

#define ADI_WIFI_MQTT_PACKET_SIZE   (60u)

This is the Maximum packet size for the MQTT request message. This is used to send MQTT packets. Generally no more than 60 bytes is required.