Skip to main content
The vmc_framework is the core component of the Marshall SDK, acting as the primary interface between your application and the vending machine controller (VMC). It handles all the essential operations, from initiating and managing sessions to processing transactions and communicating with various peripherals.

Function

To begin using the vmc_framework, you need to obtain its singleton instance. This ensures that only one instance of the framework is active, providing a consistent and controlled interaction point for all SDK operations. To initiate the framework instance, you can use the following command:

Parameters

The table below provides a detailed description of the command.

Lifecycle Methods

The primary methods to control the lifecycle of the SDK are: Refer to SDK Flags Descriptions to learn about other flags that can be initiated to control specific configurations.