Lines Matching refs:pktLen
196 const unsigned int pktLen = 6; in init() local
197 uint8_t cmd[pktLen] = {0xaa, static_cast<uint8_t>(0x0d|m_camAddr), 0x00, in init()
199 uint8_t resp[pktLen]; in init()
211 writeData(cmd, pktLen); in init()
216 if (readData(resp, pktLen) != pktLen) in init()
225 if (readData(resp, pktLen) != pktLen) in init()
242 writeData(cmd, pktLen); in init()
249 const unsigned int pktLen = 6; in preCapture() local
250 uint8_t cmd[pktLen] = { 0xaa, static_cast<uint8_t>(0x01 | m_camAddr), 0x00, in preCapture()
252 uint8_t resp[pktLen]; in preCapture()
266 writeData(cmd, pktLen); in preCapture()
271 if (readData(resp, pktLen) != pktLen) in preCapture()
286 const unsigned int pktLen = 6; in doCapture() local
287 uint8_t cmd[pktLen] = { 0xaa, static_cast<uint8_t>(0x06 | m_camAddr), 0x08, in doCapture()
289 uint8_t resp[pktLen]; in doCapture()
304 writeData(cmd, pktLen); in doCapture()
310 if (readData(resp, pktLen) != pktLen) in doCapture()
338 writeData(cmd, pktLen); in doCapture()
339 if (readData(resp, pktLen) != pktLen) in doCapture()
366 if (readData(resp, pktLen) != pktLen) in doCapture()
378 if (readData(resp, pktLen) != pktLen) in doCapture()
422 const unsigned int pktLen = 6; in storeImage() local
427 uint8_t cmd[pktLen] = { 0xaa, static_cast<uint8_t>(0x0e | m_camAddr), 0x00, in storeImage()
444 writeData(cmd, pktLen); in storeImage()
481 writeData(cmd, pktLen); in storeImage()