mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-15 16:43:29 +00:00
Even when an explicit user reset was triggered by the firmware, the RMAKER_EVENT_USER_NODE_MAPPING_DONE event was getting generated, which was misleading and causing issues while integrating other frameworks. A new event RMAKER_EVENT_USER_NODE_MAPPING_RESET has been added to distinguish this event. The esp_rmaker_user_node_mapping_get_state() has also been exposed for applications to use. Note that the CONFIG_ESP_RMAKER_USER_ID_CHECK config option should be enabled to get correct state.