def _dap_transfer_free_bytes(self, size):
        send = size - 3 - 1 * self._read_count - 5 * self._write_count
        recv = size - 3 - 4 * self._read_count
        return send, recv
Get the number of free bytes left in the packet and response
dataset/ETHPy150Open mbedmicro/pyOCD/pyOCD/pyDAPAccess/dap_access_usb.py/_Command._dap_transfer_free_bytes