mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
add aidl get/begin/commit configs
This commit is contained in:
parent
a1984c5136
commit
35ffcceb79
2 changed files with 39 additions and 28 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue