2.0.0 • Published 2 years ago

jvgaeta-react-native-serialport v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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