RepositoryTypeScript
capacitor-community

capacitor-community/bluetooth-le

Capacitor plugin for Bluetooth Low Energy

359sao
127fork
42issue
2lượt xem

📱 Bluetooth LE cho Capacitor: một plugin đa nền tảng

Hỗ trợ web, Android và iOS với cùng bộ API dựa trên Web Bluetooth.

@capacitor-community/bluetooth-le là plugin Capacitor cho Bluetooth Low Energy (không hỗ trợ classic/serial). Hướng đến trải nghiệm nhất quán trên cả ba nền tảng bằng cách lấy Web Bluetooth API làm chuẩn tham chiếu.

✨ Điểm nổi bật

  • Đa nền tảng: Cùng API trên web, Android, iOS.
  • Chuẩn Web Bluetooth: Dựa trên nền tảng Web Bluetooth API.
  • Quét và kết nối thiết bị: Hỗ trợ requestDevice, requestLEScan, connect, disconnect.
  • Đọc/ghi dữ liệu: Hỗ trợ read, write, writeWithoutResponse.
  • Thông báo thời gian thực: startNotifications, stopNotifications.
  • Quản lý kết nối: getServices, getMtu, readRssi, createBond, isBonded.
  • Cài đặt hệ thống: enable, disable, openBluetoothSettings, openLocationSettings.
  • Chỉ hỗ trợ vai trò Central: Không hỗ trợ peripheral.

💡 Vì sao đáng chú ý

Plugin này giúp các nhà phát triển Capacitor dễ dàng tích hợp Bluetooth LE mà không cần viết mã nền tảng riêng. Bằng cách căn chỉnh theo Web Bluetooth API, nhà phát triển có thể dùng lại kiến thức và mã nguồn trên cả web và mobile. Phù hợp cho các ứng dụng IoT, thiết bị y tế, hoặc bất kỳ dự án nào cần giao tiếp với thiết bị BLE.


#Bluetooth #Capacitor #IoT #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026
RepositorySwift
permissionlesstech/bitchat

bluetooth mesh chat, IRC vibes

37.2k
Nov 27, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.6k
Dec 3, 2026
RepositoryTypeScript
expo/expo

An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.

53.9k
Dec 2, 2026
RepositoryTypeScript
maotoumao/MusicFree

插件化、定制化、无广告的免费音乐播放器

29.0k
Nov 30, 2026
RepositoryTypeScript
ionic-team/capacitor

Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️

17.2k
Nov 28, 2026
RepositoryTypeScript
typescript-eslint/typescript-eslint

:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript

16.5k
Dec 1, 2026
RepositoryTypeScript
pqina/filepond

🌊 A flexible and fun JavaScript file upload library

16.4k
Dec 2, 2026
RepositoryTypeScript
windingwind/zotero-pdf-translate

Translate PDF, EPub, webpage, metadata, annotations, notes to the target language. Support 20+ translate services.

12.4k
Nov 13, 2026