COMMANDS READ COMMAND QUEUE AND FLUSH Returns the commands waiting to be fetched by device and flushes the queue. Once executed the queue is empty.