diff --git a/mesh.proto b/mesh.proto index e71b603..4f1062a 100644 --- a/mesh.proto +++ b/mesh.proto @@ -557,18 +557,10 @@ message Data { */ PortNum portnum = 1; - oneof payloadVariant { - - /* - * TODO: REPLACE - */ - bytes payload = 2; - - /* - * TODO: REPLACE - */ - bytes payload_compressed = 10; - } + /* + * TODO: REPLACE + */ + bytes payload = 2; /* * Not normally used, but for testing a sender can request that recipient diff --git a/portnums.proto b/portnums.proto index b074c97..a1198f4 100644 --- a/portnums.proto +++ b/portnums.proto @@ -75,6 +75,12 @@ enum PortNum { */ ADMIN_APP = 6; + + /* + * Compressed TEXT_MESSAGE payloads. + */ + TEXT_MESSAGE_COMPRESSED_APP = 7; + /* * Provides a 'ping' service that replies to any packet it receives. * Also serves as a small example module. @@ -119,11 +125,6 @@ enum PortNum { */ ZPS_APP = 68; - /* - * Compressed payloads. - */ - COMPRESSION_APP = 69; - /* * Private applications should use portnums >= 256. * To simplify initial development and testing you can use "PRIVATE_APP"