cmd_clear cmd_flush cmd_read cmd_reset cmd_start cmd_stop cmd_write opendevice() pdcmd_query pdcmd_setparams