refactor: use Position object as requestPosition parameter

This commit is contained in:
andrekir 2023-03-27 15:51:23 -03:00
parent 2d9f0a56f2
commit fb8a640873
4 changed files with 8 additions and 7 deletions

View file

@ -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);