메뉴로 바로가기

@capgo/capacitor-low-energy

Capacitor BLE 플러그인 BLE 통신을 위해.

Capacitor BLE 플러그인 BLE 통신을 위해.

  • initialize - BLE 플러그인을 초기화합니다. 다른 메서드 호출하기 전에 반드시 호출해야 합니다.
  • shimWebBluetooth - Capacitor 웹 블루투시미를 설치합니다. navigator.bluetooth. 이 기능을 사용하기 전에 API Web Bluetooth을 Capacitor 네이티브 앱에서 수동으로 호출하세요.
  • isAvailable - 장치에서 블루투스를 사용할 수 있는지 확인하세요.
  • isEnabled - 블루투스를 활성화한 상태인지 확인하세요.
Method설명
initializeBLE 플러그인을 초기화합니다. 다른 메서드를 호출하기 전에 반드시 호출해야 합니다.
shimWebBluetoothCapacitor Web Bluetooth shim을 설치하세요. navigator.bluetooth. 이 기능을 사용하기 전에 API Web Bluetooth을 Capacitor 네이티브 앱에서 수동으로 호출하세요.
isAvailable장치에서 블루투스를 사용할 수 있는지 확인하세요.
isEnabled블루투스를 활성화한 상태인지 확인하세요.
isLocationEnabled__CAPGO_KEEP_0__ (Android 전용).
openAppSettings__CAPGO_KEEP_1__ 열기.
openBluetoothSettings__CAPGO_KEEP_2__ (Android 전용).
openLocationSettings__CAPGO_KEEP_3__ 열기.
checkPermissions__CAPGO_KEEP_4__ 상태를 확인하세요.
requestPermissions__CAPGO_KEEP_5__ 권한을 요청하세요.
startScan__CAPGO_KEEP_6__ BLE 장치를 스캔합니다.
stopScan__CAPGO_KEEP_7__ BLE 장치를 스캔 중지합니다.
connect__CAPGO_KEEP_8__ BLE 장치에 연결합니다.
disconnect__CAPGO_KEEP_9__ BLE 장치에서 연결을 끊습니다.
createBond__CAPGO_KEEP_10__ (Android 전용).
isBonded__CAPGO_KEEP_11__ (Android 전용).
discoverServices__CAPGO_KEEP_0__
getServices__CAPGO_KEEP_0__
getConnectedDevices__CAPGO_KEEP_0__
readCharacteristic__CAPGO_KEEP_0__
writeCharacteristic__CAPGO_KEEP_0__
startCharacteristicNotifications__CAPGO_KEEP_0__
stopCharacteristicNotifications__CAPGO_KEEP_0__
readDescriptor__CAPGO_KEEP_0__
writeDescriptor__CAPGO_KEEP_0__
readRssi__CAPGO_KEEP_0__
requestMtu__CAPGO_KEEP_0__
requestConnectionPriority__CAPGO_KEEP_0__
startAdvertisingStart advertising as a peripheral (BLE server).
stopAdvertising광고를 중단합니다.
startForegroundServiceStart a foreground service to maintain BLE connections in background (Android only).
stopForegroundServiceForeground 서비스를 중단합니다 (Android only).
getPluginVersionGet the native Capacitor plugin version.
addListener장치 스캔 이벤트에 대한 리스너를 추가합니다.
addListener장치 연결 이벤트에 대한 리스너를 추가합니다.
addListener장치 연결 해제 이벤트에 대한 리스너를 추가합니다.
addListener특성 변경 이벤트에 대한 리스너를 추가합니다.
removeAllListeners이 플러그인에 대한 모든 리스너를 제거합니다.

실질적인 진실

Source Of Truth

This reference is synced from src/definitions.ts in capacitor-low-power-Bluetooth.

Keep going from @capgo/capacitor-low-power-Bluetooth

Section titled “Keep going from @capgo/capacitor-low-power-Bluetooth”

If you are using @capgo/capacitor-low-power-Bluetooth to plan migration and enterprise operations, connect it with Using @capgo/capacitor-low-power-Bluetooth for the native capability in Using @capgo/capacitor-low-power-Bluetooth, Capgo Enterprise for the product workflow in Capgo Enterprise, Ionic Enterprise Plugin Alternatives Ionic Enterprise Plugin 대체 옵션 Capgo Alternatives Capgo 제품 워크플로 대체 옵션 Capgo Consulting Capgo 제품 워크플로 컨설팅