On Thu, Jul 14, 2011 at 1:56 PM, Robert Story <[email protected]> wrote:
> On Thu, 14 Jul 2011 12:16:00 -0400 Fulko wrote:
> FH> Ahh. 'Gain' is different than volume. Knowing that, I'd define it as
> FH> below.
> FH> I'd leave the concept of 'muted' as something that the management
> system
> FH> implements. Ie. When the user selects 'muted' the NMS sends -1. If
> the
> FH> NMS reads -1 it shows the label 'MUTED'.
>
> Another option is to define a separate object for mute.. the atvantage
> being
> that they can unmute and the gain will still be at it's previous level..
>
Excellent point, and great idea!
gainControl OBJECT-TYPE
SYNTAX INTEGER (0..1000)
MAX-ACCESS read-write
STATUS current
DESCRIPTION "The 'gainControl' variable allows you to set the
gain of the device between 0 and 100dB in units
tenths of a dB (i.e. 111 == 11.1dB).
Note: Some systems may not allow that level of
granularity and may round off any actual value
provided. e.g. 0.5dB increments. In that case
the variable when read, will indicate the actual
value in operation, not the value requested.
See also 'muteControl' for controlling the actual
output."
UNITS "tenths of a dB"
DEFVAL { -1 }
::= { parentNode 1 }
muteControl OBJECT-TYPE
SYNTAX INTEGER {
muted (1),
un-muted (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION "The 'muteControl' variable allows you to
enable/disable the output independently of
the value of 'gainControl'."
DEFVAL { un-muted }
::= { parentNode 2 }
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders