Skip to main content

AMP_TONE_HTTP_MIN

Constant AMP_TONE_HTTP_MIN 

Source
pub const AMP_TONE_HTTP_MIN: u8 = 104;
Expand description

Lowest tone value the amp’s own HTTP API accepts.

Nothing enforces this here: the mesh receive path copies these bytes straight through without a range check, so a peer can put any value on the wire and the amp will take it. This library reports what arrived. Clamping to these bounds imposes one device’s HTTP policy on a mesh peer - reasonable, but a caller’s decision to make knowingly.