mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: use Position object as requestPosition parameter
This commit is contained in:
parent
2d9f0a56f2
commit
fb8a640873
4 changed files with 8 additions and 7 deletions
|
|
@ -5,6 +5,7 @@ package com.geeksville.mesh;
|
|||
parcelable DataPacket;
|
||||
parcelable NodeInfo;
|
||||
parcelable MeshUser;
|
||||
parcelable Position;
|
||||
parcelable MyNodeInfo;
|
||||
|
||||
/**
|
||||
|
|
@ -101,7 +102,7 @@ interface IMeshService {
|
|||
void commitEditSettings();
|
||||
|
||||
/// Send position packet with wantResponse to nodeNum
|
||||
void requestPosition(in int idNum, in double lat, in double lon, in int alt);
|
||||
void requestPosition(in int idNum, in Position position);
|
||||
|
||||
/// Send Shutdown admin packet to nodeNum
|
||||
void requestShutdown(in int idNum);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue