How to Develop Serial Port for Terminals: Difference between revisions
No edit summary |
No edit summary |
||
Line 18: | Line 18: | ||
** '''SERIAL_EXT''': works for internal fiscal/other serial port module. | ** '''SERIAL_EXT''': works for internal fiscal/other serial port module. | ||
|} | |} | ||
When using the Java API to open a serial port, you need to set the logic ID of a serial port as a parameter. | When using the Java API to open a serial port, you need to set the logic ID of a serial port as a parameter. |
Revision as of 07:49, 13 April 2020
When using the C API to open a serial port, you need to set the device name of a serial port as a 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
|
When using the Java API to open a serial port, you need to set the logic ID of a serial port as a parameter.
- 0 : works for USB serial port in slave mode.
- 1 : works for USB serial port in master mode.
- 2 : works for internal fiscal/ other serial port module.