pub fn decode_bat_quantity(tlv: &[u8]) -> Result<u8, ClusterError>Expand description
Decode the BatQuantity attribute value.
ยงErrors
Returns ClusterError on a type mismatch or out-of-range value.
pub fn decode_bat_quantity(tlv: &[u8]) -> Result<u8, ClusterError>Decode the BatQuantity attribute value.
Returns ClusterError on a type mismatch or out-of-range value.