mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 01:16:55 +00:00
commit
97fd5cf2ab
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "ProtobufModule.h"
|
#include "ProtobufModule.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Routing module for router control messages
|
* Admin module for admin messages
|
||||||
*/
|
*/
|
||||||
class AdminModule : public ProtobufModule<AdminMessage>
|
class AdminModule : public ProtobufModule<AdminMessage>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user