Skip to content

There is no way to clear scheduled card selection scenario #93

Description

Hello team,

We have a case where card selection scenario is dynamically configurable and can be cancelled. There is currently no API to do that (other than recreating the reader)

This can even end up in an exception if you are using a shared remote reader. If the first user registers a scenario and the second one doesn't do a "clear". The response received can't be handle by the seconde selection manager

07-10 15:28:47.182  3389  3389 D SmartcardNfcReader: New CardCardReader received type : CARD_MATCHED readerName : BluebirdReader
07-10 15:28:47.183  3389  3389 I System.out: java.lang.IllegalArgumentException: Argument [cardSelectionResponses] has a value [3] greater than [0].
07-10 15:28:47.199  3389  3389 I System.out: 	at org.eclipse.keyple.core.util.Assert.isInRange(Assert.java:205)
07-10 15:28:47.199  3389  3389 I System.out: 	at org.eclipse.keyple.core.service.CardSelectionManagerAdapter.processCardSelectionResponses(CardSelectionManagerAdapter.java:365)

Thank you for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions