impl get channels/get radio remote api

This commit is contained in:
Kevin Hester
2021-02-26 15:34:00 +08:00
parent 5ae4edf8fd
commit c7c8b34adf
4 changed files with 72 additions and 35 deletions

View File

@@ -6,6 +6,8 @@
*/
class AdminPlugin : public ProtobufPlugin<AdminMessage>
{
MeshPacket *reply = NULL;
public:
/** Constructor
* name is for debugging output
@@ -27,6 +29,9 @@ class AdminPlugin : public ProtobufPlugin<AdminMessage>
void handleSetOwner(const User &o);
void handleSetChannel(const Channel &cc);
void handleSetRadio(const RadioConfig &r);
void handleGetChannel(const MeshPacket &req, uint32_t channelIndex);
void handleGetRadio(const MeshPacket &req);
};
extern AdminPlugin *adminPlugin;