chore: release v1.7.60-alpha

This commit is contained in:
archipelago
2026-05-17 20:45:56 -04:00
parent 0a94c0097f
commit 4d6b4f76af
10 changed files with 91 additions and 49 deletions
+7 -2
View File
@@ -113,7 +113,12 @@ impl MeshtasticDevice {
anyhow::bail!("No Meshtastic serial API response");
}
let node_id = self.node_num.unwrap_or(0);
let node_id = self
.node_num
.ok_or_else(|| anyhow::anyhow!("Meshtastic serial API did not provide MyInfo"))?;
if self.user_id.is_none() && self.long_name.is_none() && self.short_name.is_none() {
anyhow::bail!("Meshtastic serial API did not provide node identity");
}
let firmware_version = self
.long_name
.clone()
@@ -331,7 +336,7 @@ fn decode_serial_frame(buf: &mut Vec<u8>) -> Option<Vec<u8>> {
}
fn encode_want_config() -> Vec<u8> {
encode_to_radio_variant(TO_RADIO_WANT_CONFIG_ID, &encode_varint_field(1, 1))
encode_varint_field(TO_RADIO_WANT_CONFIG_ID, 1)
}
fn encode_heartbeat() -> Vec<u8> {