Lines Matching refs:cmd
197 uint8_t cmd[pktLen] = {0xaa, static_cast<uint8_t>(0x0d|m_camAddr), 0x00, in init() local
211 writeData(cmd, pktLen); in init()
240 cmd[1] = 0x0e | m_camAddr; in init()
241 cmd[2] = 0x0d; in init()
242 writeData(cmd, pktLen); in init()
250 uint8_t cmd[pktLen] = { 0xaa, static_cast<uint8_t>(0x01 | m_camAddr), 0x00, in preCapture() local
266 writeData(cmd, pktLen); in preCapture()
287 uint8_t cmd[pktLen] = { 0xaa, static_cast<uint8_t>(0x06 | m_camAddr), 0x08, in doCapture() local
304 writeData(cmd, pktLen); in doCapture()
321 cmd[1] = 0x05 | m_camAddr; in doCapture()
322 cmd[2] = 0; in doCapture()
323 cmd[3] = 0; in doCapture()
324 cmd[4] = 0; in doCapture()
325 cmd[5] = 0; in doCapture()
338 writeData(cmd, pktLen); in doCapture()
350 cmd[1] = 0x04 | m_camAddr; in doCapture()
351 cmd[2] = 0x01; in doCapture()
364 writeData(cmd, 6); in doCapture()
427 uint8_t cmd[pktLen] = { 0xaa, static_cast<uint8_t>(0x0e | m_camAddr), 0x00, in storeImage() local
434 cmd[4] = i & 0xff; in storeImage()
435 cmd[5] = (i >> 8) & 0xff; in storeImage()
444 writeData(cmd, pktLen); in storeImage()
479 cmd[4] = 0xf0; in storeImage()
480 cmd[5] = 0xf0; in storeImage()
481 writeData(cmd, pktLen); in storeImage()