docs: def _parse_config(config):
          """Helper to turn a2dp_sbc_t structure into a
          more usable set of SBC codec configuration params"""
          frequency = config[0] >> 4
          channel_mode = config[0] & 0xF
          allocation_method = config[1] & 0x03
          subbands = (config[1] >> 2) & 0x03
          block_length = (config[1] >> 4) & 0x0F
          min_bitpool = config[2]
          max_bitpool = config[3]
          return SBCCodecConfig(channel_mode, frequency, allocation_method,
                                subbands, block_length, min_bitpool, max_bitpool)