File tree Expand file tree Collapse file tree 5 files changed +34
-1
lines changed
Expand file tree Collapse file tree 5 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 7474*StoreForwardPlusPlus.root_hash max_size:32
7575*StoreForwardPlusPlus.message max_size:240
7676
77+ *StatusMessage.status max_size:80
7778
7879# MyMessage.name max_size:40
7980# or fixed_length or fixed_count, or max_count
9495
9596*ChunkedPayload.chunk_count int_size:16
9697*ChunkedPayload.chunk_index int_size:16
97- *ChunkedPayload.payload_chunk max_size:228
98+ *ChunkedPayload.payload_chunk max_size:228
Original file line number Diff line number Diff line change @@ -1311,6 +1311,13 @@ message Waypoint {
13111311 fixed32 icon = 8 ;
13121312}
13131313
1314+ /*
1315+ * Message for node status
1316+ */
1317+ message StatusMessage {
1318+ string status = 1 ;
1319+ }
1320+
13141321/*
13151322 * This message will be proxied over the PhoneAPI for the client to deliver to the MQTT server
13161323 */
Original file line number Diff line number Diff line change 2727*DetectionSensorConfig.monitor_pin int_size:8
2828*DetectionSensorConfig.name max_size:20
2929*DetectionSensorConfig.detection_trigger_type max_size:8
30+
31+ *StatusMessage.node_status max_size:80
Original file line number Diff line number Diff line change @@ -769,6 +769,16 @@ message ModuleConfig {
769769 uint32 blue = 5 ;
770770 }
771771
772+ /*
773+ * StatusMessage config - Allows setting a status message for a node to periodically rebroadcast
774+ */
775+ message StatusMessageConfig {
776+ /*
777+ * The actual status string
778+ */
779+ string node_status = 1 ;
780+ }
781+
772782 /*
773783 * TODO: REPLACE
774784 */
@@ -837,6 +847,11 @@ message ModuleConfig {
837847 * TODO: REPLACE
838848 */
839849 PaxcounterConfig paxcounter = 13 ;
850+
851+ /*
852+ * TODO: REPLACE
853+ */
854+ StatusMessageConfig statusmessage = 14 ;
840855 }
841856}
842857
Original file line number Diff line number Diff line change @@ -142,6 +142,14 @@ enum PortNum {
142142 */
143143 STORE_FORWARD_PLUSPLUS_APP = 35 ;
144144
145+ /*
146+ * Node Status module
147+ * ENCODING: protobuf
148+ * This module allows setting an extra string of status for a node.
149+ * Broadcasts on change and on a timer, possibly once a day.
150+ */
151+ NODE_STATUS_APP = 36 ;
152+
145153 /*
146154 * Provides a hardware serial interface to send and receive from the Meshtastic network.
147155 * Connect to the RX/TX pins of a device with 38400 8N1. Packets received from the Meshtastic
You can’t perform that action at this time.
0 commit comments