parse_channel_flag

Function parse_channel_flag 

Source
pub fn parse_channel_flag(bytes: &[u8]) -> Option<ChannelFlag>
Expand description

Parse a 4-byte channel flag record.

Format: [used, lockout_byte, group, 0xFF].

  • used: 0xFF = empty, 0x00 = VHF, 0x01 = 220, 0x02 = UHF
  • lockout_byte bit 0: 1 = locked out from scan
  • group: bank/group assignment (0-29)