mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-28 18:47:40 +00:00
Send 'ACK' response for admin message
This commit is contained in:
parent
8815746006
commit
c45a85547e
@ -176,6 +176,12 @@ bool AdminModule::handleReceivedProtobuf(const MeshPacket &mp, AdminMessage *r)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If asked for a response and it is not yet set, generate an 'ACK' response
|
||||||
|
if (mp.decoded.want_response && !myReply) {
|
||||||
|
myReply = allocErrorResponse(Routing_Error_NONE, &mp);
|
||||||
|
}
|
||||||
|
|
||||||
return handled;
|
return handled;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user