use rmk_macro::event;
pub use rmk_types::connection::{ConnectionStatus, ConnectionType};
#[event(channel_size = crate::CONNECTION_STATUS_CHANGE_EVENT_CHANNEL_SIZE, pubs = crate::CONNECTION_STATUS_CHANGE_EVENT_PUB_SIZE, subs = crate::CONNECTION_STATUS_CHANGE_EVENT_SUB_SIZE)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub struct ConnectionStatusChangeEvent(pub ConnectionStatus);
impl_payload_wrapper!(ConnectionStatusChangeEvent, ConnectionStatus);