remove DataPacket storage from MeshService

This commit is contained in:
andrekir 2022-09-16 18:17:19 -03:00
parent a9f9be0981
commit 68558e4078
4 changed files with 3 additions and 60 deletions

View file

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