diff --git a/storeforward.proto b/storeforward.proto index 7938b64..0f238d5 100644 --- a/storeforward.proto +++ b/storeforward.proto @@ -12,8 +12,8 @@ option csharp_namespace = "Meshtastic.Protobufs"; message StoreAndForward { /* - * 1 - 99 = From Router - * 101 - 199 = From Client + * 001 - 063 = From Router + * 064 - 127 = From Client */ enum RequestResponse { @@ -56,28 +56,28 @@ message StoreAndForward { /* * Client is an in error state. */ - CLIENT_ERROR = 101; + CLIENT_ERROR = 64; /* * Client has requested a replay from the router. */ - CLIENT_HISTORY = 102; + CLIENT_HISTORY = 65; /* * Client has requested stats from the router. */ - CLIENT_STATS = 103; + CLIENT_STATS = 66; /* * Client has requested the router respond. This can work as a * "are you there" message. */ - CLIENT_PING = 104; + CLIENT_PING = 67; /* * The response to a "Ping" */ - CLIENT_PONG = 105; + CLIENT_PONG = 68; /* * Client has requested that the router abort processing the client's request @@ -181,16 +181,25 @@ message StoreAndForward { /* * TODO: REPLACE */ - Statistics stats = 2; + oneof variant { + /* + * TODO: REPLACE + */ + Statistics stats = 2; - /* - * TODO: REPLACE - */ - History history = 3; + /* + * TODO: REPLACE + */ + History history = 3; - /* - * TODO: REPLACE - */ - Heartbeat heartbeat = 4; + /* + * TODO: REPLACE + */ + Heartbeat heartbeat = 4; + /* + * Empty Payload + */ + bool empty = 5; + } }