분류, 패키지 및 저장소 검색

패키지 상세v0.4.1+1

quick_blue

Flutter용 크로스 플랫폼 BluetoothLE 플러그인입니다.

AndroidiOSmacOSWindowsLinux
30일 다운로드
53
좋아요
102
Pub 점수
110

패키지 설치

flutter pub add quick_blue

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

QuickBlue는 Flutter용 크로스플랫폼 블루투스 저전력(BLE) 플러그인으로, 안드로이드, iOS, macOS, Windows 및 리눅스에서 BLE 장치와 상호작용할 수 있게 해줍니다. 스캔, 연결, 읽기, 쓰기 및 BLE 주변기기를 모니터링하기 위한 간단하고 일관된 API를 제공합니다. 사용의 용이성을 고려해 설계되었으며, 플랫폼별 복잡성을 추상화하면서도 신뢰할 수 있는 성능을 유지합니다. 웨어러블 기기, 센서 또는 IoT 하드웨어와 실시간 데이터 교환을 필요로 하는 애플리케이션에 적합합니다.

사용 사례

  • BLE 비콘에 연결 중
  • 웨어러블에서 센서 데이터 읽기
  • 사물인터넷 장치 제어
  • 의료 기기와의 페어링
  • 실시간 건강 모니터링

주요 기능

  • 크로스 플랫폼 지원
  • BLE 작업을 위한 간단한 API
  • 자동 장치 탐지
  • 이벤트 기반 연결 처리
  • 특성 알림 지원

적합한 대상

  • 사물인터넷 애플리케이션 개발
  • 웨어러블 디바이스 통합
  • 건강 및 피트니스 앱
  • 스마트 홈 시스템
  • BLE 지원 기능 프로토타이핑

고려 사항

  • 모든 플랫폼에서 블루투스 권한이 필요합니다
  • BLE 전용 기능으로 제한됨
  • 플랫폼별 동작은 다를 수 있습니다
  • iOS의 백그라운드 실행 제한
  • 내장된 암호화 또는 보안 계층 없음

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

quick_blue

A cross-platform (Android/iOS/macOS/Windows/Linux) BluetoothLE plugin for Flutter

Note: It is a federated plugin structure

Usage

General useful Bluetooth information

https://www.bluetooth.com/blog/4-essential-tools-for-every-bluetooth-low-energy-developer/

  1. Client Emulator Apps

  2. Bluetooth Sniffer

iOS/macOS specific info

On iOS/macOS some common service/characteristic would be shortened. Be careful when comparing the UUID. I haven't finished the refactor of notepad_core to quick_blue yet

On the Dart side you'd better call like: https://github.com/woodemi/notepad_core/blob/b0e329f3d6e02f14f8a0e5e48a6ddb48e026b658/notepad_core/lib/woodemi/WoodemiClient.dart#L245-L256

const CODE__SERV_BATTERY = "180f";
const CODE__CHAR_BATTERY_LEVEL = "2a19";

const SERV__BATTERY = "0000$CODE__SERV_BATTERY-$GSS_SUFFIX";
const CHAR__BATTERY_LEVEL = "0000$CODE__CHAR_BATTERY_LEVEL-$GSS_SUFFIX";

Common service/characteristic list

  • Official: https://www.bluetooth.com/specifications/specs/gatt-specification-supplement-5/
  • gist: https://gist.github.com/sam016/4abe921b5a9ee27f67b3686910293026
Windows specific info

Doc of samples: https://docs.microsoft.com/en-us/samples/microsoft/windows-universal-samples/bluetoothle Code of samples: https://github.com/microsoft/windows-universal-samples/tree/main/Samples/BluetoothLE

Some other help

There is a version restriction with Connection without pairing on C++/WinRT and Windows 10

  • https://answers.microsoft.com/en-us/windows/forum/all/reconnecting-a-paired-bluetooth-device-without/90b42dd3-2998-4393-9d89-1624e120502f
  • https://stackoverflow.com/questions/55765090/windows-bluetooth-le-require-pairing-before-connection
  • https://social.msdn.microsoft.com/Forums/azure/en-US/66d6fb43-e41e-4751-99fe-170b8f63ad22/uwpcc-uwp-bluetooth-communication-without-pairing?forum=wpdevelop
Linux specific info
  • BlueZ official: http://www.bluez.org/
  • Ubuntu official: https://ubuntu.com/core/docs/bluez
  • Ubuntu bluez package: https://github.com/canonical/bluez.dart
  • Doc of samples: https://www.bluetooth.com/wp-content/uploads/2019/03/T1804_How-to-set-up-BlueZ_LFC_FINAL-2.pdf

카테고리

의존성

의존성 목록 5 개

  • convert^3.0.0
  • quick_blue_linux^0.1.2
  • quick_blue_macos^0.3.1+2
  • quick_blue_platform_interface^0.3.2
  • quick_blue_windows^0.3.2

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.