Add support for .ini file,
Add support for extended messages (advanced protocol), Add handy command lines for Power, Volume in db, and Mute.
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
||||
subZone1,
|
||||
subZone2,
|
||||
subZone3,
|
||||
subSubsystemCount
|
||||
subsystemCount
|
||||
} AVRSubsystem_T;
|
||||
|
||||
typedef enum {
|
||||
@@ -249,7 +249,8 @@ public:
|
||||
/// @param[in] function : Power, Speaker, Volume, etc.
|
||||
/// @param[in] arg: on/off, etc.
|
||||
/// @param[in] variableData is for those functions where it needs to integrate variable value, such as setting the volume directly
|
||||
/// @return
|
||||
/// @return true if accepted
|
||||
///
|
||||
bool AVRCommand(AVRSubsystem_T subsystem,
|
||||
AVRFunction_E function,
|
||||
AVRArg_T arg,
|
||||
@@ -316,7 +317,22 @@ public:
|
||||
///
|
||||
/// @brief Export all the numeric data to support a command line control option
|
||||
///
|
||||
void ExportInformation();
|
||||
/// @param[in] subsystem: Main | Zone 1 | Zone 2 | Zone 3
|
||||
/// @param[in] function : Power, Speaker, Volume, etc.
|
||||
/// @param[in] arg: on/off, etc.
|
||||
///
|
||||
void ExportInformation(AVRInterface::AVRSubsystem_T subsystem = subsystemCount,
|
||||
AVRInterface::AVRFunction_E function = fncFunctionCount,
|
||||
AVRArg_T arg = eARGCount);
|
||||
|
||||
/// VolumeDBtoAPIValue
|
||||
///
|
||||
/// @brief Convert a floating point value to the internal API db units for volume
|
||||
/// @param db in the range of -80.0 to +16.5 db
|
||||
/// @return scaled to internal volume units
|
||||
///
|
||||
uint8_t VolumeDBtoAPIValue(float db);
|
||||
|
||||
|
||||
private:
|
||||
uint32_t sentAtTime_ms;
|
||||
|
||||
Reference in New Issue
Block a user