Amadis

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The Arkos next-gen SDK now supports concert protocol. To set the protocol you need to start with the following steps below:

  • You will be provided with these two libraries: concert_library.aar and TCP_socket_library.aar

  • You can refer to the documentation below for the functionalities provided and also the dependencies needed.

  • It is to be noted that these libraries cover IP/Ethernet, WIFI, and Bluetooth compatibility only. RS-232 compatibility will be provided as source code in ArkosPay.

ArkosPay currently has a Payment System singleton where the entire application is initialized as a singleton for only one instance to be available throughout the whole app at any time. A new parent, ConcertHandler, has been provided and is responsible for creating the protocol method you want to use.

image-20240911-125618.png

Upon starting Arkospay, you will have no instance of Concert protocol types/methods running. You can navigate to settings → Concert connection types

image-20240911-130128.png

Choose the type of protocol you want → IP ethernet in this example

image-20240911-130244.png

Upon choosing IP ethernet, a port and protocol version will be prompted. Once confirmed you will return to the idle screen and then your instance will be created.

image-20240911-130324.png

Now that you have a running instance:

  • You will need to add this in your assets folder, as the specification has a config defined and this file conforms to the configuration specified in the document.

  • You can refer to the IPEthernetHandler.java class how the functions are called and used.

  • No labels