Project

General

Profile

Development #7198

Updated by Kyle Chong 3 months ago

Refer to: docs/planning/modules/M21_Hardware_Integration.md 

 Hardware Integration (M21) (docs/planning/modules/M21_Hardware_Integration.md). Build the common architecture used by POS+ to communicate with external hardware. 

 Scope: 

 Define common interfaces/contracts for supported hardware categories. 
 Separate POS business logic from vendor/model-specific device implementation. 
 Support reusable .NET library/DLL components. 
 Allow device implementations to be selected based on POS Setup configuration. 
 Standardize device initialization, connection, disconnection, status adapter and error handling where applicable. 
 Keep vendor-specific protocol/SDK implementation inside the respective hardware adapter. 
 Allow new device models to be introduced without changing the consuming POS business UI flow. 
 Ensure hardware operations do not unnecessarily block the Cashier UI. 
 Return standardized results/errors to the consuming POS application. 
 Allow the same hardware integration components to be reused by other Qube POS applications. 

 Conceptually: 

 > POS Application 
 >         │ 
 >         ▼ 
 > Common Hardware Interface 
 >         │ 
 >         ├── Vendor/Model Adapter A 
 >         ├── Vendor/Model Adapter B 
 >         └── Vendor/Model Adapter C 

 Handle unavailable devices, timeouts, retry and audit data. Done when: POS+ can consume supported hardware through standardized interfaces when device/simulator acceptance tests pass without containing vendor-specific protocol implementation in its business modules. blocking safe sales.

Back