Searched refs:pktLen (Results 1 – 3 of 3) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/src/grovescam/ |
D | grovescam.cxx | 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() [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/zfm20/ |
D | zfm20.cxx | 324 const int pktLen = 5; in verifyPassword() local 325 uint8_t pkt[pktLen] = {CMD_VERIFY_PASSWORD, in verifyPassword() 331 writeCmdPacket(pkt, pktLen); in verifyPassword() 345 const int pktLen = 1; in getNumTemplates() local 346 uint8_t pkt[pktLen] = {CMD_GET_TMPL_COUNT}; in getNumTemplates() 348 writeCmdPacket(pkt, pktLen); in getNumTemplates() 369 const int pktLen = 5; in setNewPassword() local 370 uint8_t pkt[pktLen] = {CMD_SET_PASSWORD, in setNewPassword() 376 writeCmdPacket(pkt, pktLen); in setNewPassword() 399 const int pktLen = 5; in setNewAddress() local [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/m24lr64e/ |
D | m24lr64e.cxx | 60 const int pktLen = 11; in submitPasswd() local 61 uint8_t buf[pktLen]; in submitPasswd() 79 if (m_i2c.write(buf, pktLen)) in submitPasswd() 91 const int pktLen = 11; in writePasswd() local 92 uint8_t buf[pktLen]; in writePasswd() 110 if (m_i2c.write(buf, pktLen)) in writePasswd() 214 const int pktLen = 3; in EEPROM_Write_Byte() local 215 uint8_t buf[pktLen]; in EEPROM_Write_Byte() 222 if ((rv = m_i2c.write(buf, pktLen))) in EEPROM_Write_Byte() 233 const int pktLen = 2 + len; in EEPROM_Write_Bytes() local [all …]
|