mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
remove DataPacket storage from MeshService
This commit is contained in:
parent
a9f9be0981
commit
68558e4078
4 changed files with 3 additions and 60 deletions
|
|
@ -66,19 +66,11 @@ interface IMeshService {
|
|||
*/
|
||||
void send(inout DataPacket packet);
|
||||
|
||||
void deleteMessages(in List<DataPacket> deleteList);
|
||||
|
||||
void deleteAllMessages();
|
||||
|
||||
/**
|
||||
Get the IDs of everyone on the mesh. You should also subscribe for NODE_CHANGE broadcasts.
|
||||
*/
|
||||
List<NodeInfo> getNodes();
|
||||
|
||||
/// Return an list of MeshPacket protobuf (byte arrays) which were received while your client app was offline (recent messages only).
|
||||
/// Also includes any messages we have sent recently (useful for finding current message status)
|
||||
List<DataPacket> getOldMessages();
|
||||
|
||||
/// This method is only intended for use in our GUI, so the user can set radio options
|
||||
/// It returns a DeviceConfig protobuf.
|
||||
byte []getDeviceConfig();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue