fix lint warnings; deprecate inital messages field

pull/78/head
Mike Kinney 2022-01-19 15:43:57 -08:00
rodzic 48dafa52ca
commit 8f1209e3de
3 zmienionych plików z 18 dodań i 18 usunięć

Wyświetl plik

@ -4,10 +4,10 @@ option java_package = "com.geeksville.mesh";
option optimize_for = LITE_RUNTIME; option optimize_for = LITE_RUNTIME;
option go_package = "github.com/meshtastic/gomeshproto"; option go_package = "github.com/meshtastic/gomeshproto";
import "cannedmessages.proto";
import "channel.proto"; import "channel.proto";
import "mesh.proto"; import "mesh.proto";
import "radioconfig.proto"; import "radioconfig.proto";
import "cannedmessages.proto";
option java_outer_classname = "AdminProtos"; option java_outer_classname = "AdminProtos";
@ -108,29 +108,29 @@ message AdminMessage {
bool get_canned_message_plugin_part5_request = 44; bool get_canned_message_plugin_part5_request = 44;
CannedMessagePluginMessagePart5 get_canned_message_plugin_part5_response = 45; CannedMessagePluginMessagePart5 get_canned_message_plugin_part5_response = 45;
/* /*
* Set the canned message plugin part 1 text. * Set the canned message plugin part 1 text.
*/ */
CannedMessagePluginMessagePart1 set_canned_message_plugin_part1 = 46; CannedMessagePluginMessagePart1 set_canned_message_plugin_part1 = 46;
/* /*
* Set the canned message plugin part 2 text. * Set the canned message plugin part 2 text.
*/ */
CannedMessagePluginMessagePart2 set_canned_message_plugin_part2 = 47; CannedMessagePluginMessagePart2 set_canned_message_plugin_part2 = 47;
/* /*
* Set the canned message plugin part 3 text. * Set the canned message plugin part 3 text.
*/ */
CannedMessagePluginMessagePart3 set_canned_message_plugin_part3 = 48; CannedMessagePluginMessagePart3 set_canned_message_plugin_part3 = 48;
/* /*
* Set the canned message plugin part 4 text. * Set the canned message plugin part 4 text.
*/ */
CannedMessagePluginMessagePart4 set_canned_message_plugin_part4 = 49; CannedMessagePluginMessagePart4 set_canned_message_plugin_part4 = 49;
/* /*
* Set the canned message plugin part 5 text. * Set the canned message plugin part 5 text.
*/ */
CannedMessagePluginMessagePart5 set_canned_message_plugin_part5 = 50; CannedMessagePluginMessagePart5 set_canned_message_plugin_part5 = 50;
} }

Wyświetl plik

@ -113,7 +113,7 @@ message DeviceState {
*/ */
string canned_message_plugin_message_part5 = 17; string canned_message_plugin_message_part5 = 17;
} // DeviceState }
/* /*
* The on-disk saved channels * The on-disk saved channels

Wyświetl plik

@ -673,7 +673,7 @@ message RadioConfig {
* and the entire message must fit within 256 bytes. * and the entire message must fit within 256 bytes.
* Not sure if we should deprecate this or just remove it since we're in dev phase. * Not sure if we should deprecate this or just remove it since we're in dev phase.
*/ */
//string canned_message_plugin_messages = 172; string canned_message_plugin_messages = 172 [deprecated = true];
/* /*
* CannedMessagePlugin also sends a bell character with the messages. * CannedMessagePlugin also sends a bell character with the messages.