feat(machine): add Electron serial port IPC for hardware access
Expose serialport APIs through Electron preload for bill validator and dispenser communication. Update HAL service with device path configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b410917e52
commit
c4fadd7438
5 changed files with 19 additions and 4 deletions
|
|
@ -97,6 +97,8 @@ ipcMain.handle('get-config', () => {
|
|||
atmPrivateKey: process.env.VITE_ATM_PRIVATE_KEY || '',
|
||||
adminToken: process.env.VITE_ADMIN_TOKEN || '',
|
||||
appId: process.env.VITE_APP_ID || '',
|
||||
appToken: process.env.VITE_APP_TOKEN || '',
|
||||
linkingToken: process.env.VITE_LINKING_TOKEN || '',
|
||||
|
||||
// Hardware configuration
|
||||
machineModel: process.env.VITE_LAMASSU_MACHINE_MODEL || 'sintra',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue