Quick answers
Small pages that answer one question each: what an error code means, how big a type is, how many peers ESP-NOW takes, where the bootloader goes. Every value is quoted from ESP-IDF v5.5.5, arduino-esp32 3.3.12, the datasheets or the tool documentation.
Codes and return values
Look up a number from a log or a return value.
- esp_err_t error codesESP_ERR_* by number: hex, decimal, name and meaning. NVS, Wi-Fi, OTA, HTTP, TLS ranges.
- Wi-Fi disconnect reason codeswifi_err_reason_t by number: 2, 15, 201, 202, 204… what each means and how to read it in Arduino.
- WiFi.status() valueswl_status_t 0…6, 254, 255: when arduino-esp32 sets each one, plus WiFi.begin() and the event numbers.
- HTTPClient error codesHTTPClient negative codes -1…-11 and their errorToString() text. Positive values are HTTP status codes.
Compiler and code
Types, attributes and macros that behave in a specific way on ESP32.
- C/C++ type sizes on ESP32sizeof of every basic type on Xtensa and RISC-V chips, int32_t being long, 64-bit time_t, printf formats.
- Memory attributes: IRAM_ATTR, RTC_DATA_ATTR and the restWhere IRAM_ATTR, DRAM_ATTR, RTC_DATA_ATTR, NOINIT and EXT_RAM put data, and what survives restart and sleep.
- Compile-time checks for chip, core and ESP-IDF versionCONFIG_IDF_TARGET_*, SOC_*_SUPPORTED, ESP_ARDUINO_VERSION, ESP_IDF_VERSION and ARDUINO_* macros.
- arduino-esp32 and ESP-IDF versionsWhich ESP-IDF each arduino-esp32 release from 2.0.17 to 3.3.12 is built on, and how to print both at run time.
Limits
Sizes and counts that the APIs enforce.
- NVS and Preferences limitsKey and namespace length, string and blob size, entries per page, what Preferences returns on failure.
- ESP-NOW limitsPayload size (v1.0 and v2.0), peer count, encrypted peers, channel rules, callback context.
- BLE limitsATT MTU, advertising and scan response size, device name length, connection limits, BLE 5 per chip.
- Wi-Fi soft-AP and TX power limitsSoft-AP station count, SSID and password length, channels, TX power units and the Arduino wifi_power_t values.
- SPIFFS vs LittleFS vs FFatFile name length, directories, wear levelling, open files and partitions of the three Arduino filesystems.
Chips and hardware
Per-chip numbers: clocks, wake-up pins, flash offsets, electrical limits.
- Flash offsets and esptool commandsBootloader offset per chip (0x0, 0x1000, 0x2000), partition table, app, and esptool commands to flash them.
- ESP32 MAC addressesOne base MAC in eFuse, +0…+3 per interface, local MACs, and the getEfuseMac() byte order.
- CPU frequency: allowed setCpuFrequencyMhz() valuesWhich MHz values setCpuFrequencyMhz() accepts per chip, the IDE default, and what happens to APB.
- Tasks and cores in arduino-esp32Which task runs setup()/loop(), Wi-Fi, lwIP, events and timers: priority, core, stack.
- Deep-sleep wakeup sources per chipTimer, ext0, ext1, GPIO, touch and ULP wakeup per chip, with the ext1-capable pins and an ext1 mask builder.
- GPIO electrical limits per chipInput/output thresholds, drive current, pull resistors and absolute maximum ratings from each datasheet.
- USB serial chips and USB IDsCP2102N, CH340, CH9102, FTDI and the chip's own USB: VID:PID, /dev/ttyUSB or ttyACM, drivers.
Nothing matches.
PetroSky Linux VPS · partner
Your ESP32 needs somewhere to report to.An MQTT broker, OTA updates, dashboards. Guaranteed CPU and RAM, static IPv4, all ports open.
Get a VPS ↗
Affiliate link · supports ESPSSS at no cost to you