@maheshmestri/react-native-serialport
v1.3.22
Published
This library is for usb serial port communication on android platforms
Downloads
211
Maintainers
Readme
This fork of react-native-serialport is used because it fixes this issue which prevents Android compilation.
react-native-serialport
installation
npm i @maheshmestri/react-native-serialport
This library is for usb serial port communication on android platform
This module uses the felHR85/UsbSerial library
Documents
Use to write data to port
RNSerialport.writeString("HELLO");
RNSerialport.writeBase64("SEVMTE8=");
RNSerialport.writeHexString("48454C4C4F");
DEFAULT DEFINITIONS
| KEY | VALUE | |------------------------|------------------------------------------| | RETURNED DATA TYPE | INT ARRAY (Options: INTARRAY, HEXSTRING) | | BAUND RATE | 9600 | | AUTO CONNECT BAUD RATE | 9600 | | PORT INTERFACE | -1 | | DATA BIT | 8 | | STOP BIT | 1 | | PARITY | NONE | | FLOW CONTROL | OFF | | DRIVER | AUTO |
Java Package Name
com.melihyarikkaya.rnserialport