Heartbeat has a nonce now

This commit is contained in:
Ben Meadors 2025-08-09 10:17:08 -05:00
parent 7fe2c74139
commit f6857f1bcb

View File

@ -70,7 +70,7 @@ bool PacketAPI::receivePacket(void)
break;
}
case meshtastic_ToRadio_heartbeat_tag:
if (mr->heartbeat.dummy_field == 1) {
if (mr->heartbeat.nonce == 1) {
if (nodeInfoModule) {
LOG_INFO("Broadcasting nodeinfo ping");
nodeInfoModule->sendOurNodeInfo(NODENUM_BROADCAST, true, 0, true);