Skip to content

Wrong PollerEventType description in NFC API #3320

@blluv

Description

@blluv

Describe the bug.

While developing an application with the new NFC stack, I noticed that the descriptions of PollerEventTypeError and PollerEventTypeReady were swapped.

typedef enum {
Iso14443_4aPollerEventTypeError, /**< The card was activated by the poller. */
Iso14443_4aPollerEventTypeReady, /**< An error occured during activation procedure. */
} Iso14443_4aPollerEventType;

typedef enum {
Iso14443_3aPollerEventTypeError, /**< The card was activated by the poller. */
Iso14443_3aPollerEventTypeReady, /**< An error occured during activation procedure. */
} Iso14443_3aPollerEventType;

...

lib/nfc/protocols/felica/felica_poller.h
lib/nfc/protocols/iso14443_4b/iso14443_4b_poller.h
lib/nfc/protocols/iso14443_4a/iso14443_4a_poller.h
lib/nfc/protocols/iso14443_3b/iso14443_3b_poller.h
lib/nfc/protocols/iso15693_3/iso15693_3_poller.h
lib/nfc/protocols/iso14443_3a/iso14443_3a_poller.h

Reproduction

I apologize that I couldn't find the appropriate issue template and sent it to the bug template.

Target

No response

Logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions