Uniot Core
0.8.1
Loading...
Searching...
No Matches
NetworkEvents.h
Go to the documentation of this file.
1/*
2 * This is a part of the Uniot project.
3 * Copyright (C) 2016-2025 Uniot <contact@uniot.io>
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#include <Common.h>
22
52
54
62enum Channel {
64};
65
73enum Topic {
76};
77
93
94} // namespace uniot::events::network
95
#define FOURCC(name)
Creates a FourCC constant from a string literal.
Definition Common.h:107
Definition NetworkEvents.h:53
Msg
Network event messages.
Definition NetworkEvents.h:84
@ DISCONNECTING
Currently disconnecting from network.
Definition NetworkEvents.h:88
@ SUCCESS
Network operation completed successfully.
Definition NetworkEvents.h:86
@ ACCESS_POINT
Device is operating in access point mode.
Definition NetworkEvents.h:90
@ AVAILABLE
Configured network is available for connection.
Definition NetworkEvents.h:91
@ DISCONNECTED
Network connection has been lost or terminated.
Definition NetworkEvents.h:89
@ FAILED
Network operation failed (connection, scan, etc.)
Definition NetworkEvents.h:85
@ CONNECTING
Currently attempting to connect to network.
Definition NetworkEvents.h:87
Topic
Network event topics.
Definition NetworkEvents.h:73
@ WIFI_STATUS_LED
LED status indicators for network state.
Definition NetworkEvents.h:75
@ CONNECTION
WiFi connection state changes and operations.
Definition NetworkEvents.h:74
Channel
Network-related data channels.
Definition NetworkEvents.h:62
@ OUT_SSID
Channel for broadcasting current SSID information.
Definition NetworkEvents.h:63