mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Steal the compressed text portnum for Store and Forward++
Ran into a blocker in a test deployment, that the mesh was set to ignore non-standard ports. Interesting problems require interesting solutions.
This commit is contained in:
parent
c474fd3f49
commit
55ae11f11f
1 changed files with 8 additions and 14 deletions
|
|
@ -75,13 +75,15 @@ enum PortNum {
|
|||
ADMIN_APP = 6;
|
||||
|
||||
/*
|
||||
* Compressed TEXT_MESSAGE payloads.
|
||||
* ENCODING: UTF-8 Plaintext (?) with Unishox2 Compression
|
||||
* NOTE: The Device Firmware converts a TEXT_MESSAGE_APP to TEXT_MESSAGE_COMPRESSED_APP if the compressed
|
||||
* payload is shorter. There's no need for app developers to do this themselves. Also the firmware will decompress
|
||||
* any incoming TEXT_MESSAGE_COMPRESSED_APP payload and convert to TEXT_MESSAGE_APP.
|
||||
* Store and Forward++ module included in the firmware
|
||||
* ENCODING: protobuf
|
||||
* This module is specifically for Native Linux nodes, and provides a Git-style
|
||||
* chain of messages.
|
||||
*
|
||||
* NOTE: This is re-purposing the old compressed text messages portnum.
|
||||
* Nothing is being done with this portnum, and it's still considered a core portnum
|
||||
*/
|
||||
TEXT_MESSAGE_COMPRESSED_APP = 7;
|
||||
STORE_FORWARD_PLUSPLUS_APP = 7;
|
||||
|
||||
/*
|
||||
* Waypoint payloads.
|
||||
|
|
@ -134,14 +136,6 @@ enum PortNum {
|
|||
*/
|
||||
PAXCOUNTER_APP = 34;
|
||||
|
||||
/*
|
||||
* Store and Forward++ module included in the firmware
|
||||
* ENCODING: protobuf
|
||||
* This module is specifically for Native Linux nodes, and provides a Git-style
|
||||
* chain of messages.
|
||||
*/
|
||||
STORE_FORWARD_PLUSPLUS_APP = 35;
|
||||
|
||||
/*
|
||||
* Provides a hardware serial interface to send and receive from the Meshtastic network.
|
||||
* Connect to the RX/TX pins of a device with 38400 8N1. Packets received from the Meshtastic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue