capacitor-community/bluetooth-le
Capacitor plugin for Bluetooth Low Energy
📱 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.
Python tool for converting files and office documents to Markdown.
An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.
Build cross-platform Native Progressive Web Apps for iOS, Android, and the Web ⚡️
:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
Translate PDF, EPub, webpage, metadata, annotations, notes to the target language. Support 20+ translate services.