For the complete documentation index, see llms.txt. This page is also available as Markdown.

RMS SCRA Sample Code

Configuration Update

  • Go to the folder: rms_scra and open a terminal.

  • Connect the reader to a USB port.

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

$ sudo ./rms_scra_config_update
  • A list of available configurations is returned. List depends on the firmware ID and RMS Profile. Example:

Device Serial Number:000F423536413943343130323432344141 Main Firmware ID:000D31303030303039323734613032
Response Code:200 ResultCode: 0 Result: Success
Configurations Available: 5
1: DataVariant
2: Mask6Zero4
3: EMVNotificationsBoth
4: Mask8Zero2Mod10
5: Mask8Asterisk4
Enter '1'...'5' to update configuration.
To force update configuration, enter '*' before the number ('*1'...'*5').
Enter '0' to exit:
  • 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.

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

EMV Tags/CAPKs Update

  • Go to the folder: rms_scra and open a terminal.

  • Connect the reader to a USB port.

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

  • The sample code downloads the sequence of commands to update the EMV Tags and CAPKs available for the reader. Example:

  • Whenever a configuration result is: Configuration is up to date it may be redone by adding -f to force the update.

Firmware Update

  • Go to the folder: rms_scra and open a terminal.

  • Connect the reader to a USB port.

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

  • The parameters for the firmware update is as follows.

  • Example for updating MAIN firmware.

  • 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.

  • Whenever a firmware result is: Firmware is up to date. It may be redone by adding -f to force the update.