diff --git a/meshtastic/module_config.proto b/meshtastic/module_config.proto index 649a343..3790310 100644 --- a/meshtastic/module_config.proto +++ b/meshtastic/module_config.proto @@ -585,26 +585,36 @@ 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. + /* + 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 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 current for the LED output. Default is 10. + */ + 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% */ + /* + * Sets the red LED level. Values are 0-255. + */ + uint32 red = 3; - uint32 red = 3; // Red level + /* + * Sets the green LED level. Values are 0-255. + */ + uint32 green = 4; - /*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 + /* + * Sets the blue LED level. Values are 0-255. + */ + uint32 blue = 5; } /*