Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion meshtastic/mesh.options
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
*StoreForwardPlusPlus.root_hash max_size:32
*StoreForwardPlusPlus.message max_size:240

*StatusMessage.status max_size:80

# MyMessage.name max_size:40
# or fixed_length or fixed_count, or max_count
Expand All @@ -94,4 +95,4 @@

*ChunkedPayload.chunk_count int_size:16
*ChunkedPayload.chunk_index int_size:16
*ChunkedPayload.payload_chunk max_size:228
*ChunkedPayload.payload_chunk max_size:228
7 changes: 7 additions & 0 deletions meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,13 @@ message Waypoint {
fixed32 icon = 8;
}

/*
* Message for node status
*/
message StatusMessage {
string status = 1;
}

/*
* This message will be proxied over the PhoneAPI for the client to deliver to the MQTT server
*/
Expand Down
2 changes: 2 additions & 0 deletions meshtastic/module_config.options
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@
*DetectionSensorConfig.monitor_pin int_size:8
*DetectionSensorConfig.name max_size:20
*DetectionSensorConfig.detection_trigger_type max_size:8

*StatusMessage.node_status max_size:80
15 changes: 15 additions & 0 deletions meshtastic/module_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,16 @@ message ModuleConfig {
uint32 blue = 5;
}

/*
* StatusMessage config - Allows setting a status message for a node to periodically rebroadcast
*/
message StatusMessageConfig {
/*
* The actual status string
*/
string node_status = 1;
}

/*
* TODO: REPLACE
*/
Expand Down Expand Up @@ -829,6 +839,11 @@ message ModuleConfig {
* TODO: REPLACE
*/
PaxcounterConfig paxcounter = 13;

/*
* TODO: REPLACE
*/
StatusMessageConfig statusmessage = 14;
}
}

Expand Down
8 changes: 8 additions & 0 deletions meshtastic/portnums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ enum PortNum {
*/
STORE_FORWARD_PLUSPLUS_APP = 35;

/*
* Node Status module
* ENCODING: protobuf
* This module allows setting an extra string of status for a node.
* Broadcasts on change and on a timer, possibly once a day.
*/
NODE_STATUS_APP = 36;

/*
* 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
Expand Down