Skip to content

Commit 3022a5c

Browse files
committed
Added new insights data type: no_type or null_type
This type can be used when there is no data associated with certain keys
1 parent 8028cff commit 3022a5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/esp_diagnostics/include/esp_diagnostics.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ typedef enum {
103103
ESP_DIAG_DATA_TYPE_STR, /*!< Data type string */
104104
ESP_DIAG_DATA_TYPE_IPv4, /*!< Data type IPv4 address */
105105
ESP_DIAG_DATA_TYPE_MAC, /*!< Data type MAC address */
106-
ESP_DIAG_DATA_TYPE_INVALID, /*!< Not supported by diagnostics */
106+
ESP_DIAG_DATA_TYPE_NULL, /*!< No type */
107+
ESP_DIAG_DATA_TYPE_MAX, /*!< Max type */
107108
} esp_diag_data_type_t;
108109

109110
/**

0 commit comments

Comments
 (0)