One way to establish communication between the CloudWalk service and a host authorizer is through TCP/IP. The diagram below represents communication between the mobile device, CloudWalk service and host authorizer:
Attention: After performing a network.send and network.receive, you must perform a network.hostdisconnect so you can make a new call (send).
For testing purposes, we provide a host authorizer that is really simple and ready to use.
This guide assumes that your device already has the CloudWalk Framework properly installed and configured, and that the device serial number is already registered on CloudWalk Manager.
If you are unsure of the steps above, please refer to CloudWalk Framework - Device configuration
The last step is to configure the CloudWalk Manager. Follows the procedure:
Every device must have a logical number, which is the device identification on CloudWalk. To configure the logical number, follow these steps:
The next step is to associate the device with the newly created logical number.Press F1 (Verifone) or F (Ingenico) and enter the default password (55555). The following screen will appear:
CONFIGURATION MENU 1 CLOUDWALK 2 DEVICE SETTINGS 3 MASTER / VISA 4 ABOUT 5 QUIT
Select option 1 CLOUDWALK and this will open the following menu:
CLOUDWALK SETTINGS 1 LOGICAL NUMBERS 2 DELETE APPS 3 REINSTALL 4 BACK
translation missing: en.integration.http.walk_manager_setup.associate_logical_number.paragraph_3
LOGICAL NUMBER : 0001
After entering the logical number, press enter (green).
With the device properly prepared; application compiled and everything correctly configured in CloudWalk Manager, it's time to test the communication between all the components involved: device, CloudWalk and host authorizer.
Press the green button and the process of downloading will start:
DOWNLOADING ...
At the end of the process, the following message appears:
DOWNLOAD COMPLETE! PRESS GREEN
After downloading the application and pressing the green button, the application will be executed.
TCP socket test Connecting ...
TCP socket test Connected!
TCP socket test Connected! Sending ...
TCP socket test Connected! Sending ... Socket response: CLOUDWALK 0123456789
Be sure to carefully review each of the steps above and check the device communication setup, cables and internet connection..
TCP socket test Connection failed!
Several tools and services can help you to test the return of the requests. An example is telnet, which offers a very simple interface, as can be seen below: