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) => {
|
PayloadVariant::Channel(channel) => {
|
||||||
log::debug!("Channel: {:?}", channel);
|
log::debug!("Channel: {:?}", channel);
|
||||||
}
|
}
|
||||||
// PayloadVariant::NodeInfo(node_info) => {
|
PayloadVariant::Config(config) => {
|
||||||
// upsert_remote_node(db, node_info).await?
|
log::debug!("config: {:?}", config);
|
||||||
// }
|
}
|
||||||
// PayloadVariant::Decoded(decoded) => {
|
PayloadVariant::ConfigCompleteId(config_complete_id) => {
|
||||||
// debug_message(&matrix_sender, format!("Decoded: {:?}", decoded))
|
log::debug!("config complete ID: {:?}", config_complete_id);
|
||||||
// }
|
}
|
||||||
_ => log::debug!("dropping unknown packet"),
|
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