Uniot Core
0.8.1
Loading...
Searching...
No Matches
Network Events
Collaboration diagram for Network Events:

Namespaces

namespace  uniot
 Contains all classes and functions related to the Uniot Core.
 
namespace  uniot::events
 
namespace  uniot::events::network
 

Detailed Description

This file defines the event channels, topics, and messages used throughout the Uniot network subsystem. These events enable communication between different components of the system such as network schedulers, LED indicators, and application logic.

The event system uses FOURCC (Four Character Code) identifiers for efficient event routing and minimal memory footprint. Events are organized into:

Example usage:

// Emit a connection success event
eventEmitter.emitEvent(events::network::Topic::CONNECTION,
events::network::Msg::SUCCESS);
// Send SSID data via channel
eventEmitter.sendDataToChannel(events::network::Channel::OUT_SSID,
Bytes(ssidString));
Definition Bytes.h:38