POSXML - Configuration

  1. Presentation
  2. List of parameters

Presentation

The CloudWalk Framework has several variables of configuration, allowing the customization of every device parameter through the POSXML language, like environment variables used by the application and equipment drivers such as modem and printer.

Any of these parameters can be set with the help of the command editfile, pointing config.dat file, and using the name of these parameters as a key. File config.dat is nothing more than a file in the CloudWalk's file system.

You can configure any type of communication, retries, among other parameters and make logical reconnection backup through POSXML using the instructions editfile and preconnect.

List of parameters

Below are the variables of configuration available in the config.dat file:

  1. autooffmodem
    offs the modem automatically after a connection.
  2. crcpaginawalkserver
    sets the application's CRC on the CloudWalk Manager.
  3. dnsprimario
    sets the primary DNS that will be used by the device. You must set the DNS to 0.0.0.0 if the communication protocol PPP is used.
  4. dnssecundario
    sets the secondary DNS that will be used by the device. You must set the DNS to 0.0.0.0 if the communication protocol PPP is used.
  5. gprs_pin
    PIN of the GPRS card.
  6. iskeytimeout
    Used to identify what readkey will return in case of timeout, where:
    0 - Disabled, readkey returns KEY_CANCEL on timeout.
    1 - Enabled readkey returns -1 on timeout.
  7. keyalpha
    Key that is used to activate the alpha keyboard. Optional keys vary from device to device can go up from KEY_EXTRA1 to KEY_EXTRA99
  8. keypaperfeed
    Key that is used to make the paperfeed
  9. keypound
    Key that is used to put the # (sharp). Optional keys vary from device to device can go up from KEY_EXTRA1 to KEY_EXTRA99
  10. keystar
    Key that will be used to put the * (asterisk). Optional keys vary from device to device can go up from KEY_EXTRA1 to KEY_EXTRA99
  11. model
    Model of the device, as shown below:
    Device model Model in config.dat
    Verifone Vx 510 O5150
    Verifone VX 510/610/670 Vx 510, Vx 610, Vx 670
    Verifone VX 520/VX 680 VX 520, VX 680
    Ingenico ICT220/ICT250/IWL220/IWL250/IWL280 ICT220, ICT250, IWL220, IWL250, IWL280
  12. mygateway
    Gateway which will be used by the device. You need to set the Gateway to 0.0.0.0 if the communication protocol PPP or DHCP is used.
  13. myip
    Device's IP address. You must set the IP to 0.0.0.0 if the communication protocol PPP or DHCP is used.
  14. nomeaplicativo
    Name of the application that will be pursued in the CloudWalk Manager.
  15. numerodestepos
    Device's Logical number.
  16. primeiravez
    Indicates whether this is the first time the device is running a POSXML application.
  17. qtdetentativasenvio
    Number of packages to be sent until there is confirmation by authorizer.
  18. retentativas
    Number of retries to connect to the CloudWalk service.
  19. sn_terminal
    Device's Serial number.
  20. subnet
    Netmask. It is necessary to set the mask to 255.255.255.255 if the communication protocol PPP is used, if used DHCP is necessary to set the mask to 0.0.0.0
  21. timeoutinput
    Timeout for all statements that use it.
  22. tiposcartao
    Defines the rules for use of cards, according to the table below:
    Option Tracks Reading type
    0 (default) Accept track 2 Manual typing or pass
    2 Accept track 2 Does not allow manual entry
    4 Accept track 1 and 2 Manual typing or pass
    255 Accept track 1 and 2 Does not allow manual entry
  23. touchscreen
    Enables or disables the virtual keyboard, if the device has touchscreen where:
    0 - Does not activate the virtual keyboard
    1 - Enables virtual keyboard
  24. uclapn
    APN of the GPRS network.
  25. uclmedia
    Connection type to be used, and can be:
    LANDLINE
    ETHERNET
    GPRS
    WIFI
  26. uclpassword
    User password of the RAS or the APN (PPP).
  27. uclphoneno
    The number that the device is going to call.
  28. uclprotocol
    Communication protocol to be used, and can be:
    TCP
    SDLC
  29. uclusername
    Name of the user of RAS or APN (PPP).
  30. uclwifikey
    Password for the WIFI network we want to connect (hexadecimal).
  31. uclwifinetwork
    Name of the WIFI network we want to connect.
  32. uclwifisecurity
    Types of encryption
    WEP64-40
    WEP128-104
    WPA2-PSK (for VX 680 only)
  33. versaoframework
    CloudWalk Framework version installed on the device.