mirror of
https://github.com/meshtastic/protobufs.git
synced 2026-04-20 22:13:55 +00:00
Merge pull request #361 from charminULTRA/AmbientLightingModule
Ambient Lighting Module protos
This commit is contained in:
commit
32cbb5840e
2 changed files with 34 additions and 0 deletions
|
|
@ -18,3 +18,8 @@
|
|||
*RemoteHardwareConfig.available_pins max_count:4
|
||||
*RemoteHardwarePin.name max_size:15
|
||||
*RemoteHardwarePin.gpio_pin int_size:8
|
||||
|
||||
*AmbientLightingConfig.current int_size:8
|
||||
*AmbientLightingConfig.red int_size:8
|
||||
*AmbientLightingConfig.green int_size:8
|
||||
*AmbientLightingConfig.blue int_size:8
|
||||
|
|
@ -529,6 +529,28 @@ message ModuleConfig {
|
|||
bool send_bell = 11;
|
||||
}
|
||||
|
||||
/*Ambient Lighting Module - Settings for control of onboard LEDs to allow users to adjust the brightness levels and respective color levels.
|
||||
Initially created for the RAK14001 RGB LED module.
|
||||
*/
|
||||
message AmbientLightingConfig {
|
||||
|
||||
/*Sets LED to on or off. */
|
||||
bool led_state = 1;
|
||||
|
||||
/*Sets the overall current for the LED, firmware side range for the RAK14001 is 1-31, but users should be given a range of 0-100% */
|
||||
uint32 current = 2;
|
||||
|
||||
/*Sets the red level of the LED, firmware side values are 0-255, but users should be given a range of 0-100% */
|
||||
|
||||
uint32 red = 3; // Red level
|
||||
|
||||
/*Sets the green level of the LED, firmware side values are 0-255, but users should be given a range of 0-100% */
|
||||
uint32 green = 4; // Green level
|
||||
|
||||
/*Sets the blue level of the LED, firmware side values are 0-255, but users should be given a range of 0-100% */
|
||||
uint32 blue = 5; // Blue level
|
||||
}
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
|
|
@ -582,7 +604,14 @@ message ModuleConfig {
|
|||
* TODO: REPLACE
|
||||
*/
|
||||
NeighborInfoConfig neighbor_info = 10;
|
||||
|
||||
/*
|
||||
* TODO: REPLACE
|
||||
*/
|
||||
AmbientLightingConfig ambient_lighting = 11;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue