![protech PA-3211 User Manual Download Page 139](http://html1.mh-extra.com/html/protech/pa-3211/pa-3211_user-manual_1619630139.webp)
Chapter 4 Software Utilities
PA-3211 SERIES USER MANUAL
Page: 4-70
4.2.3.6
Serial Port API
OpenSerialPort
Public Boolean OpenSerialPort (
String PortName,
intBaudRate,
int Parity,
intDatabit,
intStopbit
booleanenRTS)
Purpose
Open theSerialPort Port.
Value
PortName = /dev/ttyS0 or other port.
BaudRate= Example 9600 or 115200
Parity = None = 0 , Odd = 1 ,Even = 2
Databit= 5,6,7,8
Stopbit= None = 0 , One = 1 ,Two = 2
EnRTS= Flow Control
True = Enable
False = Disable
Return
True (1) on success, False (0) on failure
CloseSerialPort
Public Boolean CloseSerialPort( );
Purpose
Close the SerialPort Port.
Return
True (1) on success, False (0) on failure False (0)
Summary of Contents for PA-3211
Page 1: ...USER MANUAL PA 3211 10 1 POS Terminal Powered by ARM Cortex A 9 Processor PA 3211 M1...
Page 15: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 4 2 2 3 Top View...
Page 17: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 6 2 2 6 Side View Unit mm 147 75...
Page 19: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 8 2 3 3 Top View...
Page 21: ...Chapter 2 Getting Started PA 3211 SERIES USER MANUAL Page 2 10 2 3 6 Side View 147 75...
Page 155: ...Chapter 4 Software Utilities PA 3211 SERIES USER MANUAL Page 4 86...