Skip to content

Commit

Permalink
Merge pull request #576 from meshtastic/device-profile-update1
Browse files Browse the repository at this point in the history
add fixed_position, ringtone, and canned_messages to `DeviceProfile`
  • Loading branch information
thebentern authored Sep 18, 2024
2 parents 164e598 + a883cfe commit 5709c0a
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 5709c0a

Please sign in to comment.