Skip to content

Commit

Permalink
add fixed_position, ringtone, and canned_messages to DeviceProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir committed Sep 15, 2024
1 parent 0acaec6 commit a883cfe
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meshtastic/clientonly.options
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*DeviceProfile.long_name max_size:40
*DeviceProfile.short_name max_size:5
*DeviceProfile.short_name max_size:5
*DeviceProfile.ringtone max_size:231
*DeviceProfile.canned_messages max_size:201
16 changes: 16 additions & 0 deletions meshtastic/clientonly.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ syntax = "proto3";
package meshtastic;

import "meshtastic/localonly.proto";
import "meshtastic/mesh.proto";

option csharp_namespace = "Meshtastic.Protobufs";
option go_package = "github.com/meshtastic/go/generated";
Expand Down Expand Up @@ -39,4 +40,19 @@ message DeviceProfile {
* The ModuleConfig of the node
*/
optional LocalModuleConfig module_config = 5;

/*
* Fixed position data
*/
optional Position fixed_position = 6;

/*
* Ringtone for ExternalNotification
*/
optional string ringtone = 7;

/*
* Predefined messages for CannedMessage
*/
optional string canned_messages = 8;
}

0 comments on commit a883cfe

Please sign in to comment.