1.3.0 • Published 1 year ago

@btanabe/react-native-serialport v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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