Uniot Core
0.8.1
Loading...
Searching...
No Matches
uniot::events::network Namespace Reference

Enumerations

enum  Channel { OUT_SSID = FOURCC(ssid) }
 Network-related data channels. More...
 
enum  Topic { CONNECTION = FOURCC(netw) , WIFI_STATUS_LED = FOURCC(nled) }
 Network event topics. More...
 
enum  Msg {
  FAILED = 0 , SUCCESS , CONNECTING , DISCONNECTING ,
  DISCONNECTED , ACCESS_POINT , AVAILABLE
}
 Network event messages. More...
 

Enumeration Type Documentation

◆ Channel

Network-related data channels.

Defines communication channels for transmitting network-related data between system components. Channels use FOURCC identifiers for efficient routing and type safety.

Enumerator
OUT_SSID FOURCC(ssid) 

Channel for broadcasting current SSID information.

◆ Msg

Network event messages.

Defines specific event messages that can be sent within network topics. These messages represent different states and outcomes of network operations.

Enumerator
FAILED 

Network operation failed (connection, scan, etc.)

SUCCESS  

Network operation completed successfully.

CONNECTING  

Currently attempting to connect to network.

DISCONNECTING  

Currently disconnecting from network.

DISCONNECTED  

Network connection has been lost or terminated.

ACCESS_POINT  

Device is operating in access point mode.

AVAILABLE  

Configured network is available for connection.

◆ Topic

Network event topics.

Defines the main categories of network events that can be emitted throughout the system. Topics group related events together and use FOURCC identifiers for efficient event handling.

Enumerator
CONNECTION FOURCC(netw) 

WiFi connection state changes and operations.

WIFI_STATUS_LED FOURCC(nled) 

LED status indicators for network state.