Skip to content

cyrilmarceau/rn-serial-bluetooth-classic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

📡 rn-serial-bluetooth-classic

Native Bluetooth API for React Native

⚠️ Note: Initial support is available for Android only. iOS support will be added in a future release.


🚀 Installation

npm install rn-serial-bluetooth-classic

🧑‍💻 Usage

An example implementation can be found in the example/App.tsx file:

// See example/App.tsx for full usage demonstration

✅ Features

Feature Android iOS
Bluetooth status connection
Enable Bluetooth
Implement state changed listener
Discover device incrementally
Listener when discover end
Add Bluetooth device pairing
Implement Bluetooth device connection
Add Bluetooth device disconnection
Implement Bluetooth data transfer
Add Bluetooth data reception

🛠️ Roadmap

  • Add iOS support
  • Implement Bluetooth data parsing
  • Add Bluetooth data encoding
  • Add unit tests and complete documentation