mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-07 10:27:43 +00:00
Heartbeat has a nonce now
This commit is contained in:
@@ -70,7 +70,7 @@ bool PacketAPI::receivePacket(void)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case meshtastic_ToRadio_heartbeat_tag:
|
case meshtastic_ToRadio_heartbeat_tag:
|
||||||
if (mr->heartbeat.dummy_field == 1) {
|
if (mr->heartbeat.nonce == 1) {
|
||||||
if (nodeInfoModule) {
|
if (nodeInfoModule) {
|
||||||
LOG_INFO("Broadcasting nodeinfo ping");
|
LOG_INFO("Broadcasting nodeinfo ping");
|
||||||
nodeInfoModule->sendOurNodeInfo(NODENUM_BROADCAST, true, 0, true);
|
nodeInfoModule->sendOurNodeInfo(NODENUM_BROADCAST, true, 0, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user