Skip to content
Open
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
1 change: 1 addition & 0 deletions meshtastic/admin.options
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*AdminMessage.InputEvent.kb_char int_size:8
*AdminMessage.InputEvent.touch_x int_size:16
*AdminMessage.InputEvent.touch_y int_size:16
*AdminMessage.FindNodeResponse.result int_size:8

*AdminMessage.set_canned_message_module_messages max_size:201
*AdminMessage.get_canned_message_module_messages_response max_size:201
Expand Down
53 changes: 53 additions & 0 deletions meshtastic/admin.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
syntax = "proto3";

package meshtastic;
Expand Down Expand Up @@ -220,6 +220,49 @@
bytes ota_hash = 2;
}

/*
* Request that the node emit an audible find-node pattern.
*/
message FindNodeRequest {
/*
* Stop any active find-node pattern instead of starting a new one.
*/
bool stop = 1;
}

/*
* Response to a find-node request.
*/
message FindNodeResponse {
enum Result {
/*
* Find-node pattern started.
*/
STARTED = 0;

/*
* Find-node pattern stopped.
*/
STOPPED = 1;

/*
* Request could not run because the node has no buzzer/audio output.
*/
NO_BUZZER = 2;

/*
* Request could not run because buzzer/audio output is disabled.
*/
BUZZER_DISABLED = 3;
}

/*
* Result of the request.
*/
Result result = 1;

}

/*
* TODO: REPLACE
*/
Expand Down Expand Up @@ -473,6 +516,16 @@
*/
KeyVerificationAdmin key_verification = 67;

/*
* Start or stop the audible find-node pattern.
*/
FindNodeRequest find_node_request = 68;

/*
* Result of a find-node request.
*/
FindNodeResponse find_node_response = 69;

/*
* Tell the node to factory reset config everything; all device state and configuration will be returned to factory defaults and BLE bonds will be cleared.
*/
Expand Down
5 changes: 5 additions & 0 deletions meshtastic/mesh.proto
Original file line number Diff line number Diff line change
Expand Up @@ -358,12 +358,12 @@
/*
* Makerfabs SenseLoRA Receiver (RP2040 + RFM96)
*/
SENSELORA_RP2040 = 27;

Check failure on line 361 in meshtastic/mesh.proto

View workflow job for this annotation

GitHub Actions / build

Enum value "27" on enum "HardwareModel" changed name from "SENSELORA_RP2040" to "MAKERFABS_TRACKER".

/*
* Makerfabs SenseLoRA Industrial Monitor (ESP32-S3 + RFM96)
*/
SENSELORA_S3 = 28;

Check failure on line 366 in meshtastic/mesh.proto

View workflow job for this annotation

GitHub Actions / build

Enum value "28" on enum "HardwareModel" changed name from "SENSELORA_S3" to "MAKERFABS_RESERVED".

/*
* Canary Radio Company - CanaryOne: https://canaryradio.io/products/canaryone
Expand Down Expand Up @@ -879,7 +879,7 @@
* Seeed studio T1000-E Pro tracker card. NRF52840 w/ LR2021 radio,
* GPS, button, buzzer, and sensors.
*/
TRACKER_T1000_E_PRO = 128;

Check failure on line 882 in meshtastic/mesh.proto

View workflow job for this annotation

GitHub Actions / build

Enum value "128" on enum "HardwareModel" changed name from "TRACKER_T1000_E_PRO" to "MESH_TRACKER_X1".

/*
* Elecrow ThinkNode M7, M8 and M9
Expand Down Expand Up @@ -2684,6 +2684,11 @@
* (bitwise OR of ExcludedModules)
*/
uint32 excluded_modules = 12;

/*
* Indicates that the device has a buzzer or audio output usable by the find-node command
*/
bool hasBuzzer = 13;
}

/*
Expand Down
Loading