kopia lustrzana https://github.com/meshtastic/protobufs
add ringtone storage as extra file
rodzic
9ba8772712
commit
a45968f9b4
|
@ -2,3 +2,6 @@
|
||||||
|
|
||||||
*AdminMessage.set_canned_message_module_messages max_size:201
|
*AdminMessage.set_canned_message_module_messages max_size:201
|
||||||
*AdminMessage.get_canned_message_module_messages_response max_size:201
|
*AdminMessage.get_canned_message_module_messages_response max_size:201
|
||||||
|
|
||||||
|
*AdminMessage.set_ringtone_message max_size:231
|
||||||
|
*AdminMessage.get_ringtone_response max_size:231
|
||||||
|
|
15
admin.proto
15
admin.proto
|
@ -178,6 +178,16 @@ message AdminMessage {
|
||||||
*/
|
*/
|
||||||
DeviceMetadata get_device_metadata_response = 13;
|
DeviceMetadata get_device_metadata_response = 13;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Get the Ringtone in the response to this message.
|
||||||
|
*/
|
||||||
|
bool get_ringtone_request = 14;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Get the Ringtone in the response to this message.
|
||||||
|
*/
|
||||||
|
string get_ringtone_response = 15;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set the owner for this node
|
* Set the owner for this node
|
||||||
*/
|
*/
|
||||||
|
@ -207,6 +217,11 @@ message AdminMessage {
|
||||||
*/
|
*/
|
||||||
string set_canned_message_module_messages = 36;
|
string set_canned_message_module_messages = 36;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Set the ringtone for ExternalNotification.
|
||||||
|
*/
|
||||||
|
string set_ringtone_message = 37;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Begins an edit transaction for config, module config, owner, and channel settings changes
|
* Begins an edit transaction for config, module config, owner, and channel settings changes
|
||||||
* This will delay the standard *implicit* save to the file system and subsequent reboot behavior until committed (commit_edit_settings)
|
* This will delay the standard *implicit* save to the file system and subsequent reboot behavior until committed (commit_edit_settings)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
*RTTTLConfig.ringtone max_size:230
|
|
@ -0,0 +1,18 @@
|
||||||
|
syntax = "proto3";
|
||||||
|
|
||||||
|
option java_package = "com.geeksville.mesh";
|
||||||
|
option java_outer_classname = "RTTTLConfigProtos";
|
||||||
|
option optimize_for = LITE_RUNTIME;
|
||||||
|
option go_package = "github.com/meshtastic/go/generated";
|
||||||
|
option csharp_namespace = "Meshtastic.Protobufs";
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Canned message module configuration.
|
||||||
|
*/
|
||||||
|
message RTTTLConfig {
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Ringtone for PWM Buzzer in RTTTL Format.
|
||||||
|
*/
|
||||||
|
string ringtone = 1;
|
||||||
|
}
|
Ładowanie…
Reference in New Issue