____Disable AdvanPay LEDs

Introduction

By default, AdvanPay SW controls the 3 LEDs.

It is possible to completely disable the LED operation

Identify active AdvanNet directory

Please follow this procedure to identify the active AdvanNet directory.

The active directory will be referred as $ADVANNET_DIR

Download the configuration file

To download the Advanpay configuration file, you should follow these steps:

1. Connect to your device using an SFTP program like FileZilla. To get the credentials, please follow this section of our wiki.

2. Go to $ADVANNET_DIR/META-INF folder

3. Download the connectors.xml file

Edit the configuration

1. Open the file with an editor such as Notepad++, Sublime Text, etc.

2. Scroll down until you find the a configuration section like the following:

<DEFAULT_EVENT_MANAGEMENT>
<zlisteners>
<zlistener>
<class>CSV</class> <eventTypeClass>com.keonn.spec.event.DeviceEvent$EventType,com.keonn.spec.event.DeviceMultiEvent$EventType</eventTypeClass>

</zlistener>

<zlistener>

<class>SQL</class>

<instance.unique-id>PROCESSOR_SQL</instance.unique-id>

<eventTypeClass>com.keonn.spec.event.AdvanNetEvent$AdvanNetEventType,com.keonn.spec.event.DeviceEvent$EventType,com.keonn.spec.event.DeviceMultiEvent$EventType</eventTypeClass>

</zlistener>

<zlistener>

<class>LEDS</class>

<instance.unique-id>LEDS</instance.unique-id>

<eventTypeClass>com.keonn.spec.event.DeviceEvent$EventType,com.keonn.spec.event.DeviceMultiEvent$EventType</eventTypeClass>

<sendableEvents>

<sendableEvent>

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

<eventType>TAG_READ,DEVICE_START,DEVICE_STOP,DEVICE_MODE_CHANGE,DEVICE_READMODE_CHANGE,DEVICE_ERROR</eventType>

</sendableEvent>

<sendableEvent>

<eventTypeClass>com.keonn.spec.event.DeviceMultiEvent$EventType</eventTypeClass>

<eventType></eventType>

</sendableEvent>

<sendableEvent>

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

<eventType></eventType>

</sendableEvent>

</sendableEvents>

</zlistener>

<zlistener>

<class>CHANGE_MODE</class>

<instance.unique-id>CHANGE_MODE</instance.unique-id>

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

</zlistener>

</zlisteners>

</DEFAULT_EVENT_MANAGEMENT>

3. Remove the LEDS part

<DEFAULT_EVENT_MANAGEMENT>

<zlisteners> <zlistener> <class>CSV</class> <eventTypeClass>com.keonn.spec.event.DeviceEvent$EventType,com.keonn.spec.event.DeviceMultiEvent$EventType</eventTypeClass> </zlistener> <zlistener> <class>SQL</class> <instance.unique-id>PROCESSOR_SQL</instance.unique-id> <eventTypeClass>com.keonn.spec.event.AdvanNetEvent$AdvanNetEventType,com.keonn.spec.event.DeviceEvent$EventType,com.keonn.spec.event.DeviceMultiEvent$EventType</eventTypeClass> </zlistener> <zlistener> <class>CHANGE_MODE</class> <instance.unique-id>CHANGE_MODE</instance.unique-id> <eventTypeClass>com.keonn.spec.event.DeviceEvent$EventType</eventTypeClass> </zlistener> </zlisteners> </DEFAULT_EVENT_MANAGEMENT>

4. Save the file

Upload the configuration file

Use FileZilla to upload the file connectors.xml to the same folder of your AdvanPay ($ADVANNET_DIR/META-INF).

Confirm AdvanPay configuration

Reboot the AdvanPay and check if the new configuration has been applied.