This commit is contained in:
parent
af3d7c316a
commit
148190a768
1 changed files with 27 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue