Commit Graph

40 Commits (e7cd6ae2a98d7b24cf30072eef07b66740aa85bc)

Author SHA1 Message Date
paul-szczepanek-arm 2a14b29f66 fix reading from eeprom
added missing current op
2018-09-03 09:18:17 +01:00
Donatien Garnier a239c5e98e Fix some remainings ARMCC warnings 2018-08-29 19:56:06 +01:00
Donatien Garnier 1252590a16 Address ARMCC warnings and make sure targets have SPI and InterruptIn in PN512SPITransportDriver 2018-08-29 19:46:25 +01:00
Vincent Coubard 895ef34f99 NFC: Use string instead of cstring header. 2018-08-29 19:42:08 +01:00
Donatien Garnier bfd433984f Re-run astyle 2018-08-29 16:59:45 +01:00
paul-szczepanek-arm e75ca75e17 EEPROM driver signature fixed 2018-08-29 10:45:22 +01:00
Vincent Coubard ab810b219e NFC: Fix astyle nonsense. 2018-08-28 17:47:10 +01:00
Vincent Coubard 0fa481ace6 NFC: Fix invalid access to an empty text record. 2018-08-28 17:47:10 +01:00
Vincent Coubard 9a3b64bd55 NFC: Add const qualifier to append_as_record function of ndef common types. 2018-08-28 17:47:09 +01:00
Vincent Coubard cffc0221cc NFC: Add get_record_size in common types. 2018-08-28 17:47:09 +01:00
Vincent Coubard b6e604338e NFC: Add payload builder into ndef::MessageBuilder 2018-08-28 17:47:09 +01:00
Donatien Garnier b5bfcc3fcb Address @paul-szczepanek-arm's comments 2018-08-28 17:32:39 +01:00
Donatien Garnier 66850be6e5 Fix NFCEEPROM erasing flow 2018-08-28 16:53:06 +01:00
Donatien Garnier 9e0c08bbdc Do not allocate initiator if not required in NFCController::polling_callback 2018-08-28 15:15:31 +01:00
Donatien Garnier 8e8ce973c6 Run astyle 2018-08-28 10:03:44 +01:00
Vincent Coubard 6c4fe20f09 NFC - NDEF: Improve header inclusion 2018-08-28 10:03:44 +01:00
Vincent Coubard 684b3cad08 NDEF: Move common types into the namespace ndef::common 2018-08-28 10:03:43 +01:00
Vincent Coubard 3dda860fd4 Ndef types: Add functions that convert a C-string into a span consumable by the API. 2018-08-28 10:03:42 +01:00
Vincent Coubard b985b2c00b NFC: Integrate nfc targets with Span
The goal is to play nicely with the NDEF message framework.
2018-08-28 10:03:42 +01:00
Vincent Coubard dcf38eec50 NFC: Add NDEF message framework. 2018-08-28 10:03:41 +01:00
Donatien Garnier 79170d3de5 Use nfc_tech_iso7816_app_t directly to handle ISO7816 applications 2018-08-28 09:59:18 +01:00
Donatien Garnier 83057378f0 Fixes in NFC framework 2018-08-28 09:59:16 +01:00
Donatien Garnier e7b2ec347f Enable NFC debug 2018-08-28 09:59:15 +01:00
Donatien Garnier 6eb99d65b4 NFC: Add a few missing method implementations and run astyle 2018-08-28 09:59:12 +01:00
Donatien Garnier 3f31a95a76 Fix compilation issues in NFC framework 2018-08-28 09:59:12 +01:00
Donatien Garnier f0b0762ca9 Prefix acore lib files with ac_ to avoid include clashes 2018-08-28 09:59:11 +01:00
Donatien Garnier 483fcdfc83 Fix a bunch of compilation issues, thanks @pan- 2018-08-28 09:59:10 +01:00
Donatien Garnier 3970f5f77a Expose Event Queue to NFCEEPROMDriver 2018-08-28 09:59:10 +01:00
Donatien Garnier 0e2484f7f3 Astyle formatting 2018-08-28 09:59:09 +01:00
Donatien Garnier 6a0cbffaf6 Fix API signatures 2018-08-28 09:59:07 +01:00
Donatien Garnier 9fcca783b9 Erase & Read implementations in NFCEEPROM 2018-08-28 09:59:06 +01:00
Donatien Garnier 5a9cab2408 Writing implementation in NFC EEPROM 2018-08-28 09:59:06 +01:00
Donatien Garnier a4a8ee1b49 Update NFC EEPROM Driver and add implementation 2018-08-28 09:59:05 +01:00
Donatien Garnier 8c4e4d855c Add scheduler implementation to NFC Controller class 2018-08-28 09:59:05 +01:00
Donatien Garnier 9056f29025 Add PN512 Driver implementation 2018-08-28 09:59:04 +01:00
Donatien Garnier 5fa27744b0 Implement PN512 SPI transport driver 2018-08-28 09:59:04 +01:00
Donatien Garnier d4c29207cc Type 4 Target and dependencies implementation 2018-08-28 09:59:03 +01:00
Donatien Garnier fdd8d0b9b6 Implement NFCNDEFCapable 2018-08-28 09:59:03 +01:00
Donatien Garnier db2cdf0b02 Use SharedPtr class for detected endpoints 2018-08-28 09:59:02 +01:00
Donatien Garnier d5201f00e4 Add basis for NFC Controller implementation 2018-08-28 09:59:02 +01:00