mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
add provideLocation service start/stop
This commit is contained in:
parent
94ad6cf391
commit
2441e1bada
4 changed files with 60 additions and 57 deletions
|
|
@ -109,11 +109,15 @@ interface IMeshService {
|
|||
/// Start updating the radios firmware
|
||||
void startFirmwareUpdate();
|
||||
|
||||
/**
|
||||
Return a number 0-100 for progress. -1 for completed and success, -2 for failure
|
||||
*/
|
||||
/// Return a number 0-100 for firmware update progress. -1 for completed and success, -2 for failure
|
||||
int getUpdateStatus();
|
||||
|
||||
int getRegion();
|
||||
void setRegion(int regionCode);
|
||||
|
||||
/// Start providing location (from phone GPS) to mesh
|
||||
void setupProvideLocation();
|
||||
|
||||
/// Stop providing location (from phone GPS) to mesh
|
||||
void stopProvideLocation();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue