Skip to content

React Native - Usb Serial Port Communication For Android Platform

License

Notifications You must be signed in to change notification settings

henrymcl/react-native-serialport

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

React Native - Usb Serial Port Communication For Android Platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 94.1%
  • JavaScript 5.9%