AdvanPay-120

Introduction

AdvanPay-120 features:

For retailers:

Getting Started

Helpful downloads:

These are the minimum steps to start using AdvanPay:

Power AdvanPay unit

Connect the AdvanPay to a power supply (Switch PoE, PoE injector, etc..) through an Ethernet cable and wait until it beeps. It will take between 40 and 50 seconds to boot.

Using a PoE injector

Follow this diagram to connect AdvanPay through a PoE injector:

Connection micro-USB cable to PC

Connect the AdvanPay and your computer with the USB (Type B) cable provided by Keonn.

AdvanPay uses the standard HID drivers, any PC should automatically detect the new device and install it as a regular keyboard.

USB emulation

Make sure the micro-USB cable is connected to your PC.

Make sure your PC has self-installed the right drivers

Open a text editor (Notepad, Gedit, ...) in the PC where AdvanPay is connected to:

At this point, we are sure Advanpay is up and running normally.

Configuration

Almost on any installation, it is required to adjust the AdvanPay operation.

Discover Device

Configuration requires Ethernet access to the unit, as it uses a web application.

We need therefore to connect the AdvanPay unit to an Ethernet network and execute an IP discovery process. After the configuration process is finished, the Ethernet cable can be removed.

To be able to discover the AdvanPay IP address, use a PC in the same network as the computer.

Please see the discover devices section of the Reader configuration page: Discover devices.

Enter AdvanNet Manager

The previous step will result in the IP that is assigned to the device. Let's named it <AdvanPay-IP-address>

Read Modes

Go to the RF & Antennas options to see the available AdvanPay read modes.

The AdvanPay Configuration has 3 Read Modes: ADVANPAY_PAYMENT, ADVANPAY_RETURN, ADVANPAY_READONLY.

The purpose of each Read Modes is the following:

Apply EPC change Configuration

Only available in the ADVANPAY_PAYMENT and ADVANPAY_RETURN read modes.

In the examples pictured below:

A possible Enable/Disable configuration for the ADVANPAY_PAYMENT and ADVANPAY_RETURN read modes for these tags could be:

After any configuration change, always use the Apply config button.

Persist Configuration

Using the apply button only changes the runtime settings, in order to make those changes persistent follow the steps below:

While changing the configuration, the AdvanPay operation remains stopped.

In order to start it again:

USB emulation with EPC change configuration

Make sure the micro-USB cable is connected to your PC.

Make sure your PC has self-installed the right drivers

Open a text editor (Notepad, Gedit, ...) in the PC where AdvanPay is connected to:

Mode Button

The mode button is only available for the flush version of AdvanPay-120.

A remote button is available for the under-mount version of AdvanPay-120 under the name ADPY-ECM-100

Once all three AdvanPay modes are configured, they can be easily switched by using the cover push button:

The behavior is as follows:

For further information please visit our button page.

Advanced configuration

Power and Sensitivity

The power and sensitivity of the AdvanPay its already being set for the best performance but in the RF & Antenna Options tab can be configured for more suitable performance. For more information about it look at this post: What-is-the-difference-between-Power-and-Sensitivity.

USB HID Service

Look into our wiki section: USB-HID-Service

AdvanCloud

To connect AdvanPay to the cloud using sCloud please follow these instructions.

Kill Tag Option

AdvanPay can be configured to kill a tag when doing a Payment/Return operation. Enable the "kill tag after reading it" and set the kill password of your tags in the "kill password (hex)" option. 

Kill operation  notes

It is important to be aware how the Kill Operations works and what are the consequences of such operation.

1 . Kill Operation

The Kill operation is performed always after a successful inventory.

It is basically a three-step operation. These are the simplified steps:

2. Side-effects

The most important side effects is what follows:

This scenario may happen if the kill operation is executed on a moving tag, the tag may leave the antenna field during step 3). The reader will never be able to know the tag was successfully killed.

Events & Actions

You can configure which actions will be triggered in the available events. For example, the most used events are:

Normally these events will trigger a Buzzer action, where AdvanPay will make a beep kind of sound for each event:

Time Scan

AdvanPay can be configured to read for a period of time (time scan). Every time a user makes AdvanPay start reading, either from the AdvanNet Manager (Web Application) or from the physical button, AdvanPay will do a time scan. In the following picture the time scan is configured at 5 seconds:

Transparent mode

By transparent mode, we mean a mode where AdvanPay is completely controlled using the REST API.

AdvanPay would start without the RF on and will wait for commands to start operation. 

In order to configure AdvanPay units in transparent mode, follow the steps below:

0. Stop RF operation

1. Configure Autonomous mode

2. Disable auto start (Start on boot)

3. Apply and persist settings (or Apply config and then Persist current device config)

Change AdvanPay LEDs

To change the LEDs configuration follow the steps here.

Disable AdvanPay LEDs

To disable the LEDs configuration follow the steps here.

System features

Access to device serial number

Any device contains a unique serial number. The serial number can be accessed with

Access CSV log

CSV files are intended for backup purposes only.

CSV file format may change after an upgrade without further notice.

All system activity is logged into a CSV file. This file can be accessed at any time:

http://{device_ip}:3161/system/fs/retrieveFile/AdvanNetCSVS

The timestamp in the CSV files is expressed in UTC

Clear CSV log

To clear the internal CSV log file, access the URL (HTTP GET request):

http://{device_ip}:3161/system/fs/removeFile/AdvanNetCSVS

Access real-time data

All system activity can be accessed at real-time by listening at TCP socket port 3177.

The protocol used is very similar to HTTP and the message format is XML. The following is a sample of a message:

ADVANNET/1.0

Content-Length:424

Content-Type:text/xml

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445522798763</ts>

    <status>OK</status>

    <event>

        <class>TAG_EVENT</class>

        <type>TAG_ADPY_READ</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <epc>303602c25c0d879f5597d1b8</epc>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

Important features:

TAG messages

Possible TAG events that will be received are:

<?xml version="1.0" encoding="UTF-8"?>

<inventory>

    <type>inventory</type>

    <ts>1445500793000</ts>

    <status>OK</status>

    <msg-version>2.3.0</msg-version>

    <op>inventory</op>

    <data>

        <advanNetId>AdvanNet-instance-78:a5:04:ed:a8:f2--1</advanNetId>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <inventory>

            <class>INVENTORY</class>

            <deviceId>AdvanPay-cf-us-120</deviceId>

            <size>1</size>

            <timeWindow>-1</timeWindow>

            <items>

                <item>

                    <class>READ_EVENT</class>

                    <epc>30360000a1360008889d3604</epc>

                    <ts>1445500793789</ts>

                    <deviceId>AdvanPay-cf-us-120</deviceId>

                    <data>

                        <class>TAG_DATA</class>

                        <hexepc>30360000a1360008889d3604</hexepc>

                        <opMode>AdvanPay-cf-us-120.AdvanPay.ADVANPAY_PAYMENT</opMode>

                        <props>

                            <prop>TIME_STAMP:1445500793789</prop>

                            <prop>RF_PHASE:0</prop>

                            <prop>FREQ:866829</prop>

                            <prop>READ_COUNT:1</prop>

                            <prop>RSSI:-50</prop>

                            <prop>ANTENNA_PORT:1</prop>

                        </props>

                    </data>

                    <locationData>

                        <class>LOCATED_TAG_DATA</class>

                        <epc>30360000a1360008889d3604</epc>

                        <antenna>

                            <class>ANTENNA_DEFINITION</class>

                            <def>AdvanPay-cf-us-120,1,0,0,0,antenna1,1,0,0</def>

                        </antenna>

                        <location>

                            <class>LOCATION_DEFINITION</class>

                            <loc>antenna1,1,0,0</loc>

                        </location>

                    </locationData>

                </item>

            </items>

        </inventory>

    </data>

</inventory>

Without EPC re-write

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445499657486</ts>

    <status>OK</status>

    <event>

        <class>TAG_EVENT</class>

        <type>TAG_ADPY_PAYMENT</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <epc>30360000a1360011111d3604</epc>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

With EPC re-write

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445499806460</ts>

    <status>OK</status>

    <event>

        <class>TAG_EVENT</class>

        <type>TAG_ADPY_PAYMENT</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <epc>30360000a1360011111d3604</epc>

        <newEpc>30360000a1360033331d3604</newEpc>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

Without EPC re-write

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445500248832</ts>

    <status>OK</status>

    <event>

        <class>TAG_EVENT</class>

        <type>TAG_ADPY_RETURN</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <epc>30360000a1360033331d3604</epc>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

With EPC re-write

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445500315211</ts>

    <status>OK</status>

    <event>

        <class>TAG_EVENT</class>

        <type>TAG_ADPY_RETURN</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <epc>30360000a1360033331d3604</epc>

        <newEpc>30360000a1360008889d3604</newEpc>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445522798763</ts>

    <status>OK</status>

    <event>

        <class>TAG_EVENT</class>

        <type>TAG_ADPY_READ</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <epc>303602c25c0d879f5597d1b8</epc>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445522798763</ts>

    <status>OK</status>

    <event>

        <class>TAG_EVENT</class>

        <type>TAG_ADPY_READ</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <epc>303602c25c0d879f5597d1b8</epc>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

A common error found when the configured password do not match the tag password:

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445499839780</ts>

    <status>ERROR</status>

    <event>

        <class>DEV_ERROR_EVENT</class>

        <type>DEVICE_ERROR</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <advanNetId>AdvanNet-instance-78:a5:04:ed:a8:f2--1</advanNetId>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <errors>

            <error>

                <code>25</code>

                <humanCode>Error[0000040a] Changing EPC pattern in 30360000a1360033331d3604. Error msg: Password seems wrong.</humanCode>

                <ts>1445499839774</ts>

            </error>

        </errors>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

A common error found when the write operation fails. Usual conditions are:

<?xml version="1.0" encoding="UTF-8"?>

<deviceEventMessage>

    <type>deviceEventMessage</type>

    <ts>1445499840685</ts>

    <status>ERROR</status>

    <event>

        <class>DEV_ERROR_EVENT</class>

        <type>DEVICE_ERROR</type>

        <typeclass>com.keonn.spec.event.DeviceEvent$EventType</typeclass>

        <advanNetId>AdvanNet-instance-78:a5:04:ed:a8:f2--1</advanNetId>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <errors>

            <error>

                <code>25</code>

                <humanCode>Error[00000400] Changing EPC pattern in 30360000a1360033331d3604. Error msg: No tags found.</humanCode>

                <ts>1445499840683</ts>

            </error>

        </errors>

    </event>

    <deviceId>AdvanPay-cf-us-120</deviceId>

</deviceEventMessage>

SYSTEM messages

Possible SYSTEM events that will be received are:

<?xml version="1.0" encoding="UTF-8"?>

<eventMessage>

    <type>eventMessage</type>

    <ts>1409827170979</ts>

    <status>OK</status>

    <event>

        <class>com.keonn.advannet.impl.event.DefaultAdvanNetEvent</class>

        <type>ADVANNET_INFO</type>

        <typeclass>com.keonn.spec.event.AdvanNetEvent$AdvanNetEventType</typeclass>

        <advanNetId>AdvanNet-instance-00:1e:8c:25:0c:43--1</advanNetId>

        <deviceId>AdvanPay-cf-us-120</deviceId>

        <msg>Device[AdvanPay-cf-us-120] started in mode: EPC_EAS_ALARM</msg>

    </event>

</eventMessage>

<?xml version="1.0" encoding="UTF-8"?>

<eventMessage>

    <type>eventMessage</type>

    <ts>1398285635331</ts>

    <status>OK</status>

    <event>

        <class>com.keonn.advannet.impl.event.DefaultAdvanNetEvent</class>

        <type>ADVANNET_DEVICE_CONNECTED</type>

        <typeclass>com.keonn.spec.event.AdvanNetEvent$AdvanNetEventType</typeclass>

        <advanNetId>AdvanNet-instance-7c:66:9d:55:60:df--1</advanNetId>

        <deviceId>AdvanPay-cf-us-120</deviceId>

    </event>

</eventMessage>

<?xml version="1.0" encoding="UTF-8"?>

<eventMessage>

    <type>eventMessage</type>

    <ts>1398285635331</ts>

    <status>OK</status>

    <event>

        <class>com.keonn.advannet.impl.event.DefaultAdvanNetEvent</class>

        <type>ADVANNET_DEVICE_DISCONNECTED</type>

        <typeclass>com.keonn.spec.event.AdvanNetEvent$AdvanNetEventType</typeclass>

        <advanNetId>AdvanNet-instance-7c:66:9d:55:60:df--1</advanNetId>

        <deviceId>AdvanPay-cf-us-120</deviceId>

    </event>

</eventMessage>

Reset settings to default

It is possible to reset the system to factory defaults. That means:

The procedure is as follows:

Networking

AdvanPay devices feature two different network interfaces:

Ethernet interface

The Ethernet interface can be set to static or dynamic (DHCP). DHCP is the default option

Ethernet over USB - USB COMM

Please connect your computer to the AdvanPay-120 USB COMM port.

This interface only has one static IP: 192.168.7.2

Follow the instructions here to configure the Host PC to use this interface

Serial over USB - USB CONSOLE

AdvanPay-120 features an extra communications interface useful for troubleshooting issues when all other cases aren't available or already have failed.

Please connect your computer to the AdvanPay-120 USB Console USB port and start PuTTy up. 

Please notice that if you're using Linux you will need to run PuTTy as sudo. The device name will be of the likes of /tty/USBx being x a number

If you are running windows please check at your device manager the COM port number that appears when connecting the AdvanPay to your computer, you should look up for something like this:

The next step is setting up putty as follows choosing the correct serial line value

And clicking connect, the window that will appear can either show data or not, not showing data does not mean that the connection is a failure. Try writing keonn and pressing enter to see if the device echoes the keypresses and prompts for a password.

Installation tips

Which conditions may interfere with the AdvanPay operation?

The most common cause of interference is another RFID system.

While AdvanPay uses by default a small conducted power (10 dBm -10 mW-), other neighboring RFID systems may help to power up tags. Once tags are powered up, no matter the source of the energy, they may respond strong enough for AdvanPay to detect them.

Solutions to this problem are:


Latest Firmware

You can always download and install the latest Firmware from here

https://wiki.keonn.com/rfid-components/reader-upgrade/update-advannet-procedure

FAQ

Download files

Find the User Guide and other downloadable content below: