Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 2.09 KB

README.md

File metadata and controls

59 lines (48 loc) · 2.09 KB

SerialPort

An android bluetooth kit library

docs license open issues

Introduction

English | 简体中文

SerialPort is an open source android bluetooth lightweight package library that easily solves the complexity of building your own bluetooth application, allowing people to focus on their own designs without considering the underlying configuration of android bluetooth.

  • Chain call
  • Legacy and BLE
  • Built-in must-have search interface
  • Search and connection status monitoring
  • Automatic reconnection mechanism
  • Toast prompt content modification

License

This project is released under the Apache 2.0 license.

Changelog

4.2.0 was released in 7/6/2022:

  • [Fix] Some compilation warnings about bluetooth permissions
  • [Modify] Upgrade Kotlin and Gradle versions
  • [Modify] Mark ConnectionResultCallback obsolete
  • [Feature] Added Ble device to send byte array
  • [Feature] Added Ble device can work callback
  • [Feature] Added Server

For more changelogs see: Changelog

Installation

Please refer to install.md for installation.

Getting Started

Please see Basic usage Kotlin.md or Basic usage Java.md for the basic usage of SerialPort.

We provide complete documentation. documentation

Demo sample source code

The following is the simplest Demo source code of Java and Kotlin based on SerialPort to implement Bluetooth App
Java
Kotlin