Commit Graph

96 Commits (ec839f0931a69bb22566188f9477cfc3f6adb97e)

Author SHA1 Message Date
Veijo Pesonen dad7d851db NFCEEPROM: fixes a compiler warning 2020-01-31 10:18:02 +02:00
int_szyk 62d07707c9 NFCEEPROM: fix _ndef_buffer_reader init in ctor.
Fixes Coverity issue about not initialized members.
2019-09-23 15:34:07 +02:00
int_szyk d83cbb8766 NFC-Text: fix passing null pointer to a function.
Fixes Coverity issue about passing nullptr to memcpy.
2019-09-23 15:33:29 +02:00
int_szyk 081183c11e NFC-URI: fix passing null pointer to a function.
Fixes Coverity issue about passing nullptr to memcpy.
2019-09-23 15:30:12 +02:00
Hugues Kamba 9715587042 Remove extraneous parentheses. 2019-09-03 09:58:08 +01:00
Hasnain Virk f36e896ff1 Reverting to original doxy configuration
This commit essentially brings back old code. We did an attempt to
resolve doxy issues with nfc durint docathlon, but it introduced more
issues and yak shaving rather than being a useful exercise.
Unfortunately the previous attempt got merged. This commit attempts to
restore the style maintained by original developers. From here they can
take over.
2019-02-14 17:06:38 +02:00
Cruz Monrreal b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Hasnain Virk 2670eaf82d Doxygen correction
Adding to proper group so that the API doxygen appears into the class
hierarchy group rather than data strutures.
2019-02-12 12:53:53 +02:00
Veijo Pesonen 8f786a0450 Adds newlines to avoid compiler warnings 2019-01-23 16:43:45 +02:00
Jimmy Brisson e201fdb6e9 Add placeholder libraries for things we probably refer to as libraries 2019-01-16 14:58:58 -06:00
Conrad Braam 3b138fba02 Fix long writes/reads stack overflowing (#8802)
* writes and reads queue, not overflow stack IOTPAN-295
2018-12-13 18:18:01 -06:00
Conrad Braam 6a59fa1e62 State machine step for Erase command 2018-11-12 16:13:21 +00:00
paul-szczepanek-arm d5edd3f16c write size first 2018-10-19 15:15:10 +01:00
paul-szczepanek-arm 2a14b29f66 fix reading from eeprom
added missing current op
2018-09-03 09:18:17 +01:00
paul-szczepanek-arm f3c3abd24c removed unnecessary headers 2018-08-30 08:37:57 +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
Donatien Garnier 3fa0c5e730 Fixed IAR warnings in NFC stack 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 64d65fdf56 interface methods made public 2018-08-29 14:36:33 +01:00
paul-szczepanek-arm e75ca75e17 EEPROM driver signature fixed 2018-08-29 10:45:22 +01:00
Vincent Coubard 97a4e02c3b NFC: Fix missing doc in ndef::MessageBuilder 2018-08-28 18:51:39 +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 bfe4c748ce Address @ithinuel's comments 2018-08-28 17:00:35 +01:00
Donatien Garnier 681811e403 NFCController::Delegate's destructor does not need to be virtual 2018-08-28 16:55:09 +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
Vincent Coubard d144d8bc78 NFC: Fix doxygen documentation. 2018-08-28 10:03:44 +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 3770cfb963 NDEF types: mention the function span_from_cstr in functions accepting strings. 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 fb5a0a3791 NFC: Fix more IAR compilation issues 2018-08-28 09:59:18 +01:00
Donatien Garnier 9cf8eedb63 NFC: Fix IAR compilation issues 2018-08-28 09:59:17 +01:00
Donatien Garnier 5c24c4dd82 NFC: Fix doxygen issues 2018-08-28 09:59:17 +01:00
Donatien Garnier 7a473ed9cf Fix doxygen issues in acore 2018-08-28 09:59:16 +01:00
Donatien Garnier 83057378f0 Fixes in NFC framework 2018-08-28 09:59:16 +01:00
Donatien Garnier 1f1f5f183f NFC Stack: ISO7816 now uses the 'repolling' mechanism of ISODEP module to avoid re-running a full polling loop 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