pub fn decode_communication_type(
    value: u8
) -> Result<(CommunicationType, Subnet), u8>
Expand description

Decode communication type and subnet from a single byte. If the low 4 bits are not a valid communication type, the low 4 bits are returned as an error.