code: def write_transport(self, data):
          
          if ('w' not in self.access_type):
              raise BTIncompatibleTransportAccessType
          return self.codec.encode(self.fd, self.write_mtu, data)
docs: Write data to media transport.  The data is
          encoded using the SBC codec and RTP encapsulated
          before being written to the transport file
          descriptor.
  
          :param array{byte} data: Payload data to encode,
              encapsulate and send.