VMC Configuration Object
When configuring a VMC (Vending Machine Controller), specific fields are essential for proper identification and with machine. These mandatory fields provide key information about the machine and ensure smooth operation.
See the code below:
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”);
Where:
model
: Model name of the machine, It assists in troubleshooting by distinguishing different machine types in logs and reports.serial
: Serial number of the machine. This allows for precise tracking, inventory management, and maintenance scheduling.hw_ver
: 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
: Identifies the machine's manufacturer, enabling proper support and operation .
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.
Properly managing these fields leads to better troubleshooting, improved system integration, and efficient maintenance processes.
Updated 2 months ago