Utility library to read and write Ndef messages from/to a Type4 NFC tag
Dependents: NFC M2M_2016_STM32 MyongjiElec_capstone1 IDW01M1_Cloud_IBM ... more
Fork of NDefLib by
NDEF NFC library
This library provides an abstract API to create NDEF formatted messages and records and to read/write them from/to a Type4 NFC Tag.
Implementations
At the moment, the NDEF API is implemented by X_NUCLEO_NFC01A1 and X_NUCLEO_NFC02A1 Dynamic NFC Tag libraries respectively driving the X-NUCLEO-NFC01A1 and X-NUCLEO-NFC02A1 boards.
Diff: RecordType/RecordURI.h
- Revision:
- 5:f2b7efcc5b6e
- Parent:
- 4:eaf6c49a86e4
- Child:
- 6:739e3211749d
--- a/RecordType/RecordURI.h Tue Dec 01 08:30:27 2015 +0000 +++ b/RecordType/RecordURI.h Tue Dec 01 15:59:55 2015 +0000 @@ -79,14 +79,14 @@ * @param uriContent uri content * @par we will remove from the content the prefix encoded as part of the know uri */ - RecordURI(knowUriId_t uriId, const std::string &uriContent=""); + explicit RecordURI(knowUriId_t uriId, const std::string &uriContent=""); /** * build an unknown uri type * @param uriType string with the uri type * @param uriContent uri content */ - RecordURI(const std::string &uriType, const std::string &uriContent=""); + explicit RecordURI(const std::string &uriType, const std::string &uriContent=""); virtual uint16_t write(uint8_t *buffer);