Files
esp-rainmaker/examples/common/rmaker_app_network
Piyush Shah 9474b2e08c rmaker_app_network: Better handling of provisioning failures
Remove the retry logic for Wi-Fi disconnected events while in
provisioning mode because it is handled internally by the
network_provisioning component. Now, depending on the Kconfig options,
the firmeare will try Wi-Fi connection one or more time and then stop.
Phone apps can reset the state and retry provisioning on the same
session.

Also, reduced the default connection retry count from 5 to 3 so that
users would have to wait for lesser time for retrying
2025-12-16 16:29:31 +05:30
..

RainMaker App Network Component

Component Registry

A network connectivity helper component for ESP RainMaker applications that provides unified WiFi and Thread networking functionality.

Features

  • WiFi Management: Easy WiFi connection and configuration
  • Thread Support: Thread network connectivity for mesh applications
  • Unified API: Single interface for different network protocols
  • ESP RainMaker Integration: Seamless integration with RainMaker framework

Usage

Include this component in your ESP-IDF project to add network connectivity capabilities to your ESP RainMaker application.

#include "app_network.h"

// Initialize network
app_network_init();
...
...
app_network_start(POP_TYPE_RANDOM)

Requirements

  • ESP-IDF 5.1 or later
  • ESP RainMaker framework