diff --git a/src/meshtastic.rs b/src/meshtastic.rs index 4e3bb50..f5e3f00 100644 --- a/src/meshtastic.rs +++ b/src/meshtastic.rs @@ -97,13 +97,33 @@ impl MeshtasticClient { PayloadVariant::Channel(channel) => { log::debug!("Channel: {:?}", channel); } - // PayloadVariant::NodeInfo(node_info) => { - // upsert_remote_node(db, node_info).await? - // } - // PayloadVariant::Decoded(decoded) => { - // debug_message(&matrix_sender, format!("Decoded: {:?}", decoded)) - // } - _ => log::debug!("dropping unknown packet"), + PayloadVariant::Config(config) => { + log::debug!("config: {:?}", config); + } + PayloadVariant::ConfigCompleteId(config_complete_id) => { + log::debug!("config complete ID: {:?}", config_complete_id); + } + PayloadVariant::NodeInfo(node_info) => { + log::debug!("node info: {:?}", node_info); + } + PayloadVariant::Rebooted(rebooted) => { + log::debug!("rebooted: {:?}", rebooted); + } + PayloadVariant::ModuleConfig(module_config) => { + log::debug!("module config: {:?}", module_config); + } + PayloadVariant::QueueStatus(queue_status) => { + log::debug!("queue status: {:?}", queue_status); + } + PayloadVariant::XmodemPacket(xmodem_packet) => { + log::debug!("xmodem packet: {:?}", xmodem_packet); + } + PayloadVariant::Metadata(metadata) => { + log::debug!("metadata message: {:?}", metadata); + } + PayloadVariant::MqttClientProxyMessage(mqtt_client_proxy_message) => { + log::debug!("mqtt client proxy message: {:?}", mqtt_client_proxy_message); + } } }