How to Develop Serial Port for Terminals

From wizarPOS
Revision as of 05:52, 25 September 2019 by Mahong (talk | contribs) (Created page with "When use C api open serial port, need set a device model name as the parameter. == model name == {|class="wizarpostable" |- ! scope="row" colspan="2" | Parameters |- | device...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When use C api open serial port, need set a device model name as the parameter.

model name

Parameters
device model name The alias for serial port. Available values: DB9, GS0_01, WIZARHANDQ1, Q1_USB_SERIAL, USB_SERIAL, SERIAL_EXT, USB_SLAVE_SERIAL, USB_HOST_SERIAL
  • in W1/W1V2:
    • DB9: works for DB9 port at the back side of the terminal.
    • GS0_Q1: works for USB host port at the right side of terminal to connect with Q1 via USB cable in master mode.
  • in Q1 3g:
    • WIZARHANDQ1: works for USB serial port in slave mode.
    • Q1_USB_SERIAL or USB_SERIAL: works for USB serial port in master mode.
    • SERIAL_EXT: works for internal fiscal module.
  • in Q1 4g and Q2, Q3, QD4/5 series:
    • USB_SLAVE_SERIAL: works for USB serial port in slave mode.
    • USB_HOST_SERIAL or USB_SERIAL: works for USB serial port in master mode.
    • SERIAL_EXT: works for internal fiscal module.