Skip navigation links

Package com.cloudpos.extboard

The package is designed for controlling and interacting with external extension boards in the CloudPOS system.

See: Description

Package com.cloudpos.extboard Description

The package is designed for controlling and interacting with external extension boards in the CloudPOS system. This package provides an interface to manage hardware-level operations on an external board, enabling developers to: - Trigger pulse signals on designated ports with configurable voltage, duration, and timing. - Control relay modules for switching external devices. - Read digital input (DIN) states from physical sensors or switches. - Set signal voltage levels and retrieve firmware version information of the extension board. Key functionality is exposed through the ExtBoardDevice interface, which defines methods for: - Pulse generation (triggerPulse) - Relay control (triggerRelay) - Digital input reading (readDIN) - Signal configuration (setPulseVoltage) - Firmware information retrieval (getBoardVersion) This package is essential for developers integrating peripheral hardware (such as vending machines, access control systems, or custom electronics) that communicate with the CloudPOS device via an external board, offering precise control over GPIO-like functionalities and real-time hardware interaction.
Skip navigation links