1.3.14 • Published 2 months ago

@maheshmestri/react-native-serialport v1.3.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

This fork of react-native-serialport is used because it fixes this issue which prevents Android compilation.

react-native-serialport

This library is for usb serial port communication on android platform

This module uses the felHR85/UsbSerial library

Documents

  1. Download & Installation
  2. Auto Connection
  3. Manual Connection
  4. Methods
  5. Error Descriptions

Use to write data to port

 RNSerialport.writeString("HELLO");
 RNSerialport.writeBase64("SEVMTE8=");
 RNSerialport.writeHexString("48454C4C4F");

DEFAULT DEFINITIONS

KEYVALUE
RETURNED DATA TYPEINT ARRAY (Options: INTARRAY, HEXSTRING)
BAUND RATE9600
AUTO CONNECT BAUD RATE9600
PORT INTERFACE-1
DATA BIT8
STOP BIT1
PARITYNONE
FLOW CONTROLOFF
DRIVERAUTO

Java Package Name

com.melihyarikkaya.rnserialport