def METHOD_NAME(self, b):
    '''write some bytes to remove port'''
    if len(b) > 0:
        self.debug("sending '%s' (0x%02x) of len %u" % (b, ord(b[0]), len(b)))
    elif self.ucenter_settings.debug > 1:
        self.debug("sending empty request")
    while True:
        # note that we send a single empty buffer on len(b)==0
        n = len(b)
        if n > 70:
            n = 70
        buf = [ord(x) for x in b[:n]]
        buf.extend([0]*(70-len(buf)))
        if self.last_baudrate != self.ucenter_settings.baudrate or self.last_devnum != self.ucenter_settings.devnum:
            baudrate = self.ucenter_settings.baudrate
            self.last_baudrate = baudrate
            self.last_devnum = self.ucenter_settings.devnum
            print("ucenter requesting baudrate %u" % baudrate)
        else:
            baudrate = 0
        self.master.mav.serial_control_send(self.ucenter_settings.devnum,
                                            mavutil.mavlink.SERIAL_CONTROL_FLAG_EXCLUSIVE |
                                            mavutil.mavlink.SERIAL_CONTROL_FLAG_RESPOND,
                                            0,
                                            baudrate,
                                            n,
                                            buf)
        b = b[n:]
        self.last_write = time.time()
        if len(b) == 0:
            break