[][src]Module os_balloon::config

Configuration module.

One of the main features of OpenStratos is that it's almost 100% configurable. Apart from the features above, the package contains a config.toml file, written in TOML that enables the configuration of the setup without requiring a recompilation of the software. Things like the picture/video options, alert phone number, debug mode, pin numbers and many more can be modified with that file.

Some documentation can be found in the file itself, thank to its comments, but main options are explained here:

You can also check the Config structure for further implementation details.

Structs

Battery

Battery configuration structure.

CONFIG

Configuration object.

Config

Configuration object.

Flight

Flight configuration structure.

Fona

Fona configuration structure

Gps

GPS configuration structure.

PhoneNumber

Phone number representation.

Picture

Picture configuration structure.

Telemetry

Telemetry configuration structure.

Video

Video configuration structure.

Enums

Exposure

Exposure setting.

WhiteBalance

White balance setting.

Constants

_IMPL_DESERIALIZE_FOR_Battery
_IMPL_DESERIALIZE_FOR_Config
_IMPL_DESERIALIZE_FOR_Exposure
_IMPL_DESERIALIZE_FOR_Flight
_IMPL_DESERIALIZE_FOR_Fona
_IMPL_DESERIALIZE_FOR_Gps
_IMPL_DESERIALIZE_FOR_Picture
_IMPL_DESERIALIZE_FOR_Telemetry
_IMPL_DESERIALIZE_FOR_Video
_IMPL_DESERIALIZE_FOR_WhiteBalance

Statics

CONFIG

Functions

deserialize_pin

Deserializes a Raspberry Pi pin number into a Pin structure.