NFC EEPROM sample application

NFC EEPROM Application based on X-NUCLEO-NFC04A1 expansion board

The application will write an URL to the EEPROM of the NFC tag on your board. This will be able to be read by any NFC device capable of reading NFC tags.

The example uses the EEPROM driver provided for the X-NUCLEO-NFC04A1 expansion board based on the ST25DV04K dynamic NFC/RFID tag.

Committer:
apalmieri
Date:
Mon Jan 11 11:33:23 2021 +0000
Revision:
3:3b37cd0a18e4
Parent:
0:f3d7ca3d45de
Update Mbed version block (mbed-os-6.6.0)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
apalmieri 0:f3d7ca3d45de 1 /* mbed Microcontroller Library
apalmieri 0:f3d7ca3d45de 2 * Copyright (c) 2018-2018 ARM Limited
apalmieri 0:f3d7ca3d45de 3 *
apalmieri 0:f3d7ca3d45de 4 * Licensed under the Apache License, Version 2.0 (the "License");
apalmieri 0:f3d7ca3d45de 5 * you may not use this file except in compliance with the License.
apalmieri 0:f3d7ca3d45de 6 * You may obtain a copy of the License at
apalmieri 0:f3d7ca3d45de 7 *
apalmieri 0:f3d7ca3d45de 8 * http://www.apache.org/licenses/LICENSE-2.0
apalmieri 0:f3d7ca3d45de 9 *
apalmieri 0:f3d7ca3d45de 10 * Unless required by applicable law or agreed to in writing, software
apalmieri 0:f3d7ca3d45de 11 * distributed under the License is distributed on an "AS IS" BASIS,
apalmieri 0:f3d7ca3d45de 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
apalmieri 0:f3d7ca3d45de 13 * See the License for the specific language governing permissions and
apalmieri 0:f3d7ca3d45de 14 * limitations under the License.
apalmieri 0:f3d7ca3d45de 15 */
apalmieri 0:f3d7ca3d45de 16
apalmieri 0:f3d7ca3d45de 17 #ifndef SOURCE_EEPROMDRIVER_H_
apalmieri 0:f3d7ca3d45de 18 #define SOURCE_EEPROMDRIVER_H_
apalmieri 0:f3d7ca3d45de 19
apalmieri 0:f3d7ca3d45de 20 #include "nfc/NFCEEPROMDriver.h"
apalmieri 0:f3d7ca3d45de 21 #include "events/EventQueue.h"
apalmieri 0:f3d7ca3d45de 22
apalmieri 0:f3d7ca3d45de 23 /**
apalmieri 0:f3d7ca3d45de 24 * Factory function that returns the NFC EEPROM driver.
apalmieri 0:f3d7ca3d45de 25 *
apalmieri 0:f3d7ca3d45de 26 * @param[in] queue The event queue that may be used by the driver.
apalmieri 0:f3d7ca3d45de 27 *
apalmieri 0:f3d7ca3d45de 28 * @return The NFC EEPROM driver to use.
apalmieri 0:f3d7ca3d45de 29 */
apalmieri 0:f3d7ca3d45de 30 mbed::nfc::NFCEEPROMDriver& get_eeprom_driver(events::EventQueue& queue);
apalmieri 0:f3d7ca3d45de 31
apalmieri 0:f3d7ca3d45de 32 #endif /* SOURCE_EEPROMDRIVER_H_ */