pub fn decode_feature_map(
tlv: &[u8],
) -> Result<NetworkCommissioningFeature, CommissioningError>Expand description
Decode the NetworkCommissioning::FeatureMap attribute value.
Expects the bare TLV encoding of the u32 attribute value (no
AttributeReportIB envelope). The state machine’s M6.6 driver
unwraps the Interaction Model envelope and delivers just the value
TLV to Commissioner::on_response.
§Errors
Returns CommissioningError::MalformedResponse(Stage::ReadNetworkCommissioningInfo)
if the bytes are not a well-formed unsigned-integer TLV element.