MCPcopy Create free account
hub / github.com/SmingHub/Sming / PICC_ReadCardSerial

Method PICC_ReadCardSerial

Sming/Libraries/MFRC522/MFRC522.cpp:1762–1765  ·  view source on GitHub ↗

* Simple wrapper around PICC_Select. * Returns true if a UID could be read. * Remember to call PICC_IsNewCardPresent(), PICC_RequestA() or PICC_WakeupA() first. * The read UID is available in the class variable uid. * * @return bool */

Source from the content-addressed store, hash-verified

1760 * @return bool
1761 */
1762bool MFRC522::PICC_ReadCardSerial() {
1763 byte result = PICC_Select(&uid);
1764 return (result == STATUS_OK);
1765} // End PICC_ReadCardSerial()
1766

Callers 1

scanNfcFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected