add aidl get/begin/commit configs

This commit is contained in:
andrekir 2022-11-29 17:47:49 -03:00
parent a1984c5136
commit 35ffcceb79
2 changed files with 39 additions and 28 deletions

View file

@ -72,6 +72,8 @@ interface IMeshService {
List<NodeInfo> getNodes();
/// This method is only intended for use in our GUI, so the user can set radio options
/// It returns a DeviceConfig protobuf.
byte []getConfig();
/// It sets a Config protobuf via admin packet
void setConfig(in byte []payload);
@ -83,6 +85,12 @@ interface IMeshService {
/// It sets a Channel protobuf via admin packet
void setChannel(in byte []payload);
/// Send beginEditSettings admin packet to nodeNum
void beginEditSettings();
/// Send commitEditSettings admin packet to nodeNum
void commitEditSettings();
/// Send position packet with wantResponse to nodeNum
void requestPosition(in int idNum, in double lat, in double lon, in int alt);