How to Develop Serial Port for Terminals: Difference between revisions

From wizarPOS
Line 1: Line 1:
When use C api open serial port, need set a device model name as the parameter.
When use C api open serial port, need set a device model name as the parameter.
== model name ==
== device name ==
{|class="wizarpostable"
{|class="wizarpostable"
|-
|-
! scope="row" colspan="2" | Parameters
! scope="row" colspan="2" | 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<br>
| device 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<br>
* '''in W1/W1V2:'''
* '''in W1/W1V2:'''
** '''DB9''': works for DB9 port at the back side of the terminal.
** '''DB9''': works for DB9 port at the back side of the terminal.

Revision as of 04:29, 29 March 2020

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

device name

Parameters
device 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.