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
rmaker_app_network: Support asynchronous network connection and add MFG device type and subtype for AI Agent
See merge request app-frameworks/esp-rainmaker!604
- Tasks running SPIRAM when do flash access crash with cache issues
- WebRTC task which calls fetch credential is in SPIRAM
- Made fetch credential API safe by moving the execution to internal rmaker_work_q
- Example uses `esp_rmaker_get_aws_security_token` internally to get the token
- The credential callback is registered with webrtc SDK which it can call
- webrtc SDK uses NVS to cache the signaling info internally
HomeKit has its own logic for network provisioning, including support
for Apple WAC and so, uses its own app_network component.
Recent restructuring pulled in the common rmaker_app_network component
instead.
If network connection fails even once, the firmware reports so to
clients (like phone apps) and the clients declare failure and abort
immediately, even if the firmware eventually connects. With this
change, a failure will be reported only after a few retries (whise
number is configurable)
- Use led_indicator component from component manager for ws2812 and RGB
LEDs
- Add other components from examples/common via idf_component.yml
instead of adding as EXTRA_COMPONENT_DIRS in CMakeLists.txt
data-model-provider changes moved few macros around,
so builds are failing on main branch.
Add the include directory into cmake file and include the required
header file at required source files.
- Three options to chose from 0 (POP_TYPE_MAC), 1 (POP_TYPE_RANDOM) and 2 (POP_TYPE_NONE)
- CUSTOM_POP option is not provided, because it needs additional API call to set custom pop value
Made network prov as default since it is supported for esp-idf v5.1
onwards and esp-idf v5.0 has reached end of life.
This will make the code more readable
Variable names differ between main and release/v1.4 branches for setting
the member attributes in feature struct, so use the attribute::set_val()
api as a workaround for compatibility.
esp-matter!1002 added the feature config and we updated the rainmaker
examples, but then there were more changes went in which broke the
APIs/structs and was fixed in esp-matter!1146 which again broke the
rainmaker examples.
This fixes the current esp-matter:main and esp-rainmaker:master builds
for rainmaker+matter examples.
- Set button GPIO to 28 for ESP32-C5 devkit (vs GPIO 9 for other C-series)
- Set WS2812 LED GPIO to 27 for ESP32-C5 devkit (vs GPIO 8 for other C-series)
- Updated examples: gpio, switch, multi_device, temperature_sensor, fan, led_light