VMC Configuration Object
When configuring a VMC (Vending Machine Controller), there are specific mandatory fields essential for the proper identification of the machine. Properly managing these fields leads to improved troubleshooting, enhanced system integration, and more efficient maintenance processes.
Configuration Fields
Refer to the code block below for an example of the configuration for these mandatory fields.
vmc_config = new vmc_configuration();
vmc_config.model = "marshall-java-sdk";
vmc_config.serial = "01234567";
vmc_config.hw_ver = "01234567";
vmc_config.manuf_code = "manuf";
vmc_init()
__strcpy(config.model, "marshall-c-sdk-demo");
__strcpy(config.serial, "01234567");
__strcpy(config.sw_ver, "vmc app version");
__strcpy(config.vmc_hw_ver, “01234567”);
__strcpy(config. vmc_manuf_code, “manuf”);
The table below describes the parameters:
Parameter | Type | Description |
---|---|---|
model | String | Model name of the machine. It assists in troubleshooting by distinguishing different machine types in logs and reports. |
serial | String | The serial number of the machine. This enables precise tracking, effective inventory management, and streamlined maintenance scheduling. |
hw_ver | String | Hardware version of the machine. It ensures that the correct firmware and software are used. Different hardware versions may require specific drivers or compatibility adjustments. |
manuf_code | String | Identifies the machine's manufacturer, enabling proper support and operation. |
Nayax Core
These parameters will be saved in Nayax Core. You can find them in Operations > Machines. Find and select your machine and open the VMC tab, as shown in the following image.
See Also
Updated about 13 hours ago