mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #353 from meshtastic/neighborinfo
make NeighborInfo switchable
This commit is contained in:
commit
8d17bb2452
3 changed files with 31 additions and 5 deletions
|
|
@ -1,16 +1,16 @@
|
|||
version: 0.1
|
||||
cli:
|
||||
version: 1.9.1
|
||||
version: 1.10.0
|
||||
plugins:
|
||||
sources:
|
||||
- id: trunk
|
||||
ref: v0.0.15
|
||||
ref: v0.0.17
|
||||
uri: https://github.com/trunk-io/plugins
|
||||
lint:
|
||||
enabled:
|
||||
- yamllint@1.31.0
|
||||
- buf-lint@1.19.0
|
||||
- buf-breaking@1.19.0
|
||||
- yamllint@1.32.0
|
||||
- buf-lint@1.20.0
|
||||
- buf-breaking@1.20.0
|
||||
- actionlint@1.6.24
|
||||
- markdownlint@0.34.0
|
||||
- prettier@2.8.8
|
||||
|
|
|
|||
|
|
@ -106,6 +106,11 @@ message LocalModuleConfig {
|
|||
*/
|
||||
ModuleConfig.RemoteHardwareConfig remote_hardware = 10;
|
||||
|
||||
/*
|
||||
* The part of the config that is specific to the Neighbor Info module
|
||||
*/
|
||||
ModuleConfig.NeighborInfoConfig neighbor_info = 11;
|
||||
|
||||
/*
|
||||
* A version integer used to invalidate old save files when we make
|
||||
* incompatible changes This integer is set at build time and is private to
|
||||
|
|
|
|||
|
|
@ -87,6 +87,22 @@ message ModuleConfig {
|
|||
repeated RemoteHardwarePin available_pins = 3;
|
||||
}
|
||||
|
||||
/*
|
||||
* NeighborInfoModule Config
|
||||
*/
|
||||
message NeighborInfoConfig {
|
||||
/*
|
||||
* Whether the Module is enabled
|
||||
*/
|
||||
bool enabled = 1;
|
||||
|
||||
/*
|
||||
* Interval in seconds of how often we should try to send our
|
||||
* Neighbor Info to the mesh
|
||||
*/
|
||||
uint32 update_interval = 2;
|
||||
}
|
||||
|
||||
/*
|
||||
* Audio Config for codec2 voice
|
||||
*/
|
||||
|
|
@ -561,6 +577,11 @@ message ModuleConfig {
|
|||
* TODO: REPLACE
|
||||
*/
|
||||
RemoteHardwareConfig remote_hardware = 9;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
NeighborInfoConfig neighbor_info = 10;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue