All pages
Powered by GitBook
1 of 1

Loading...

RMS MMS Sample Code

Configuration Update

1

Go to the folder: rms_mms and open a terminal.

2

Connect the reader to a USB port.

3

Enter command below. Enter password if prompted. This is for device port access.

4

A list of available configurations is returned. List depends on the firmware ID and RMS Profile. Example:

5

At the prompt, select a configuration by entering its number listed to its left. A sequence of commands are downloaded from RMS and sent to the reader. Status of the configuration is shown as updated or failed and the end of the sequence.

6

Whenever a configuration reports is up to date, it may be redone by entering *N, where N is the configuration. Example: *1

1

Go to the folder: rms_mms and open a terminal.

2

Connect the reader to a USB port.

3

Enter command below. Enter password if prompted. This is for device port access.

4

The parameters for the firmware update is as follows:

5

Example for updating MAIN firmware.

6

If an update is available, the change note for the update is shown. Below that, a confirmation to update is shown. Enter y to update.

7

A sequence of commands are downloaded from RMS and sent to the reader. Status of the update is shown as finished or failed and the end of the sequence.

$ sudo ./rms_mms_config_update
Device Serial Number:B568DAF
Main Firmware ID:1000009714-AB3-PCI Response Code:200
ResultCode: 0 Result: Success
Configurations Available: 3
1: Mask4Zero4
2: SCDEEnableNameExpirationDateServiceCode
3: Mask8Asterisk4_DynaFlex
Enter '1'...'3' to update configuration.
To force update configuration, enter '*' before the number ('*1'...'3').
Enter '0' to exit:
Selected Configuration 1 Updating Configuration... Configuration: Mask4Zero4 CommandsToDevice (1)
Name: LeadingUnmaskedCharacters Command:
SENDCOMMAND,AA0081040110D111841BD11181072B06010401F609850101890BE109E2 07E205E103C30104
CommandsToDevice (2)
Name: PANMaskedCharacter
.
.
.
Configuration Mask4Zero4 has been updated.
$ sudo ./rms_mms_firmware_update

EMV Tags/CAPKs Update

rms_mms_firmware_update TYPE
    TYPE (type of firmware): MAIN|BOOT1|BLE|WLAN
$ sudo ./rms_mms_firmware_update MAIN
Firmware update is available.
New Firmware: FIRMWARE, DYNAFLEX II GO MAIN APP PCI (COMMON KERNEL),
Version AB3
.
.
.
Do you want to update the MAIN firmware? (y/N)
Updating MAIN firmware...
Beginning DYNAFLEX II GO MAIN APP PCI (COMMON KERNEL)
Updating firmware... [1%]
.
.
.
[100%]
result (0)
Firmware update done.
Saving Firmware Image - Please Wait... Wait for 30000 ms...
Done waiting. Detecting device...
Detecting Device: GetDeviceList Detecting Device: GetDeviceList > 0 Detecting Device: Found USB Device Device detected.
Finished DYNAFLEX II GO MAIN APP PCI (COMMON KERNEL)