Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Repair Jira Macros

The VP5300 has the ability to broadcast card insert/removal notifications, even during a transaction. If you look in USDK demo, it is Device-> Start Listen Notifications. Once that is on, you will get a callback for every card state change: Inserted, seated, removed.

IDT_Device.SharedController.device_listenForNotifications(true);

Send "false" to turn them back off.

Once enabled, you will get all notifications to your main message callback as a DeviceState.Notification:

                case DeviceState.Notification:
                    if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Card_Inserted_Not_Seated)
                    {
                        SetOutputText(IP2 + " Notification: Card inserted but not Seated\n");
                    }
                    if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Card_Removed)
                    {
                        SetOutputText(IP2 + " Notification: Card Removed\n");
                    }
                    if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Card_Not_Seated)
                    {
                        SetOutputText(IP2 + " Notification: Card not Seated\n");
                    }

                    if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Card_Seated)
                    {
                        SetOutputText(IP2 + " Notification: Card Seated\n");
                    }

                    if (cardData.Notification == EVENT_NOTIFICATION_Types.EVENT_NOTIFICATION_Swipe_Card)
                    {
                        SetOutputText(IP2 + " Notification: Swipe Card\n");
                    }


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "vp5300" , "kb-article" ) and type = "page" and space = "KB"
labelskb-how-to-article

Page Properties
hiddentrue


Related issues
Jira Legacy
serverSystem JIRA
serverId5c72af4b-e2b8-3562-b028-6bcef8f5fab0
keyTS-19596


...