mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/mesh_start_stop' into 'master'
mesh: update libs See merge request idf/esp-idf!3569
This commit is contained in:
commit
05838641ff
@ -185,6 +185,7 @@ typedef enum {
|
||||
Fixed Root Setting of each device is variable as that setting changes of the root. */
|
||||
MESH_EVENT_SCAN_DONE, /**< if self-organized networking is disabled, user can call esp_wifi_scan_start() to trigger
|
||||
this event, and add the corresponding scan done handler in this event. */
|
||||
MESH_EVENT_NETWORK_STATE, /**< network state, such as whether current mesh network has a root. */
|
||||
MESH_EVENT_MAX,
|
||||
} mesh_event_id_t;
|
||||
|
||||
@ -236,6 +237,11 @@ typedef enum {
|
||||
MESH_REASON_ROOTS, /**< root conflict is detected */
|
||||
MESH_REASON_PARENT_STOPPED, /**< parent has stopped the mesh */
|
||||
MESH_REASON_SCAN_FAIL, /**< scan fail */
|
||||
MESH_REASON_IE_UNKNOWN, /**< unknown IE */
|
||||
MESH_REASON_WAIVE_ROOT, /**< waive root */
|
||||
MESH_REASON_PARENT_WORSE, /**< parent with very poor RSSI */
|
||||
MESH_REASON_EMPTY_PASSWORD, /**< use an empty password to connect to an encrypted parent */
|
||||
MESH_REASON_PARENT_UNENCRYPTED, /**< connect to an unencrypted parent/router */
|
||||
} mesh_disconnect_reason_t;
|
||||
|
||||
/*******************************************************
|
||||
@ -367,6 +373,13 @@ typedef struct {
|
||||
uint8_t number; /**< the number of APs scanned */
|
||||
} mesh_event_scan_done_t;
|
||||
|
||||
/**
|
||||
* @brief Network state information
|
||||
*/
|
||||
typedef struct {
|
||||
bool is_rootless; /**< whether current mesh network has a root */
|
||||
} mesh_event_network_state_t;
|
||||
|
||||
/**
|
||||
* @brief Mesh event information
|
||||
*/
|
||||
@ -390,6 +403,7 @@ typedef union {
|
||||
mesh_event_root_conflict_t root_conflict; /**< other powerful root */
|
||||
mesh_event_root_fixed_t root_fixed; /**< fixed root */
|
||||
mesh_event_scan_done_t scan_done; /**< scan done */
|
||||
mesh_event_network_state_t network_state; /**< network state, such as whether current mesh network has a root. */
|
||||
} mesh_event_info_t;
|
||||
|
||||
/**
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit ee0d0b152f4101ec42ef458f176773b9b7d791e5
|
||||
Subproject commit e8e4affd6a96bb5333e6a04ec93da43b4a5d7156
|
Loading…
x
Reference in New Issue
Block a user