Edgehog Device SDK ESP32
ESP32 device SDK for the Edgehog platform
edgehog_event.h
Go to the documentation of this file.
1 /*
2  * This file is part of Edgehog.
3  *
4  * Copyright 2021 SECO Mind Srl
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * SPDX-License-Identifier: Apache-2.0
19  */
20 
26 #ifndef EDGEHOG_EVENT_H
27 #define EDGEHOG_EVENT_H
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 #include "esp_event.h"
34 
35 ESP_EVENT_DECLARE_BASE(EDGEHOG_EVENTS);
36 
40 typedef enum
41 {
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
52 #endif // EDGEHOG_EVENT_H
edgehog_event
Edgehog event codes.
Definition: edgehog_event.h:41
@ EDGEHOG_OTA_SUCCESS_EVENT
Definition: edgehog_event.h:45
@ EDGEHOG_OTA_INIT_EVENT
Definition: edgehog_event.h:43
@ EDGEHOG_INVALID_EVENT
Definition: edgehog_event.h:42
@ EDGEHOG_OTA_FAILED_EVENT
Definition: edgehog_event.h:44