mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-12 08:19:39 +00:00
Heartbeat has a nonce now
This commit is contained in:
parent
7fe2c74139
commit
f6857f1bcb
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user