Home
last modified time | relevance | path

Searched refs:pn532_packetbuffer (Results 1 – 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/pn532/
Dpn532.cxx42 static uint8_t pn532_packetbuffer[PN532_PACKBUFFSIZ]; variable
157 pn532_packetbuffer[0] = CMD_GETFIRMWAREVERSION; in getFirmwareVersion()
159 if (! sendCommandCheckAck(pn532_packetbuffer, 1)) in getFirmwareVersion()
163 readData(pn532_packetbuffer, 12); in getFirmwareVersion()
168 response |= pn532_packetbuffer[offset++]; in getFirmwareVersion()
170 response |= pn532_packetbuffer[offset++]; in getFirmwareVersion()
172 response |= pn532_packetbuffer[offset++]; in getFirmwareVersion()
234 pn532_packetbuffer[0] = CMD_SAMCONFIGURATION; in SAMConfig()
235 pn532_packetbuffer[1] = 0x01; // normal mode; in SAMConfig()
236 pn532_packetbuffer[2] = 0x14; // timeout 50ms * 20 = 1 second in SAMConfig()
[all …]