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 @@ -1296,6 +1296,13 @@ message Waypoint {
12961296 fixed32 icon = 8 ;
12971297}
12981298
1299+ /*
1300+ * Message for node status
1301+ */
1302+ message StatusMessage {
1303+ string status = 1 ;
1304+ }
1305+
12991306/*
13001307 * This message will be proxied over the PhoneAPI for the client to deliver to the MQTT server
13011308 */
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 @@ -761,6 +761,16 @@ message ModuleConfig {
761761 uint32 blue = 5 ;
762762 }
763763
764+ /*
765+ * StatusMessage config - Allows setting a status message for a node to periodically rebroadcast
766+ */
767+ message StatusMessageConfig {
768+ /*
769+ * The actual status string
770+ */
771+ string node_status = 1 ;
772+ }
773+
764774 /*
765775 * TODO: REPLACE
766776 */
@@ -829,6 +839,11 @@ message ModuleConfig {
829839 * TODO: REPLACE
830840 */
831841 PaxcounterConfig paxcounter = 13 ;
842+
843+ /*
844+ * TODO: REPLACE
845+ */
846+ StatusMessageConfig statusmessage = 14 ;
832847 }
833848}
834849
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