![focalpoint 2 serial focalpoint 2 serial](https://bombnew900.weebly.com/uploads/1/2/6/0/126087374/305021313.jpg)
Method 2: adb command adb shell cat /proc/bus/input/devicesģ.2 HID device of universal USB peripherals supports by default the HID agreement devices (mouse, keyboard, code scanning gun, etc.), and you can plug and play.Īs for HID code scanning gun, you can plug and play: connect Sunmi device, open an editable box on the Sunmi device to obtain the focal point and scan the code. Process p=Runtime.getRuntime().exec("cat /proc/bus/input/devices") īufferedReader in = new BufferedReader(new
FOCALPOINT 2 SERIAL SERIAL
When used USB to Serial port, system will build the node: /dev/ttyUSERx (like /dev/ttyUSER0, /dev/ttyUSER1, etc.)ĭon’t use USB to debug system when you use USB to Serial port, it would make USB to Serial port not work List of USB to Serial: CH341, FT series, PL2303, CP210X series USB communication developers document : USB communication developer documentation (different electronic scale communication agreements need to refer to the documents provided by every manufacturer)ģ) USB port: supports USB devices with USB2.0 agreement. Serial port reference demo, JNI referenceĬommunication document for electronic scale at Jaynes serial port T1: the node path of the serial port at the device base/dev/ttyHS元, T2: ttyHSL1,T2lite:ttyHSL1, N1、D2、D1s Single screen:/dev/ttyS1;N1、D2、D1s Double screen:/dev/ttyS3) The RJ11 of sunmi equipment is four-wire and does not support hard-flow control (some peripherals turn on hardware-flow control by default, and these devices can not connect sunmi mainframe through RJ11).įor security reasons, serial port nodes traversal is not supported, but you can directly open the port to communicate ( T1,T1mini:the node path of the serial port at the device base /dev/ttyHSL1, T2,S2,T2lite,X2,T2mini:/dev/ttyHS元, N1、D2、D1s Single screen:/dev/ttyS1, N1、D2、D1s 、s2cc、Double screen:/dev/ttyS3 The developers can control the peripheralsīy sending data from the serial port. The developers can control theĬash drawer by sending data to the cash drawer port.Ĭash drawer developers document and resources file: Interface DocumentationĢ) 1) Serial port: the serial port uses RJ11 port. This text mainly introduces the usage mode of cash drawer port, usb port and serial port.ġ) Cash drawer port: the cash drawer port uses RJ12 port. Peripheral interfaces: general communication interfaces such as LAN port, cash drawer port, usb2.0 port, serial port, headphone jack, etc. 5.Develop API for communication (method 2: Cloud to Cloud)Įxternal USB Serial DeviceInstructions Document for USB、serial device 1.4.Develop API for communication (method 1: Device to Cloud).3.Download the SDK for network configuration.Code Scanner Engine(Infrared scan code).