Skip to content

@capgo/capacitor-블루투스-저전력

Capacitor 블루투스 저전력 플러그인 BLE 통신을위한.

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

  • initialize - BLE 플러그인을 초기화합니다. 다른 메서드 호출하기 전에 반드시 호출해야합니다.
  • shimWebBluetooth - Capacitor 웹 블루투시미를 설치합니다. navigator.bluetooth. Bluetooth API를 Capacitor 네이티브 앱에서 수동으로 호출하기 전에 사용하세요.
  • isAvailable - 장치에서 블루투스를 사용할 수 있는지 확인하세요.
  • isEnabled - 장치에서 블루투스를 사용할 수 있는지 확인하세요.
메서드설명
initializeBLE 플러그인을 초기화합니다. 다른 메서드를 호출하기 전에 반드시 호출해야 합니다.
shimWebBluetoothCapacitor 웹 블루투스 시뮬레이터를 설치하세요. navigator.bluetooth. Bluetooth API를 Capacitor 네이티브 앱에서 수동으로 호출하기 전에 사용하세요.
isAvailable장치에서 블루투스를 사용할 수 있는지 확인하세요.
isEnabled장치에서 블루투스를 사용할 수 있는지 확인하세요.
isLocationEnabled위치 서비스가 활성화되어 있는지 확인 (Android만).
openAppSettings앱 설정 페이지를 열어보세요.
openBluetoothSettings블루투스 설정 페이지를 열어보세요 (Android만).
openLocationSettings위치 설정 페이지를 열어보세요 (Android만).
checkPermissions현재 권한 상태를 확인하세요.
requestPermissions블루투스 권한을 요청하세요.
startScanBLE 장치를 스캔하세요.
stopScanBLE 장치를 스캔 중지하세요.
connectBLE 장치와 연결하세요.
disconnectBLE 장치와 연결을 끊으세요.
createBondBLE 장치와 결합하세요 (Android만).
isBonded장치가 결합되어 있는지 확인하세요 (Android만).
discoverServices__CAPGO_KEEP_0__를 연결된 장치에서 발견합니다.
getServices__CAPGO_KEEP_0__를 위한 장치에 대한 발견 서비스를 가져옵니다.
getConnectedDevices__CAPGO_KEEP_0__ 목록을 가져옵니다.
readCharacteristic특성 값 읽기.
writeCharacteristic특성 값에 대한 값 쓰기.
startCharacteristicNotifications특성에 대한 알림 시작.
stopCharacteristicNotifications특성에 대한 알림 중지.
readDescriptor설명자 값 읽기.
writeDescriptor설명자 값에 대한 값 쓰기.
readRssi연결된 장치의 RSSI(신호 강도)를 읽습니다.
requestMtuAndroid 전용: MTU 크기 변경 요청.
requestConnectionPriorityAndroid 전용: 연결 우선순위 요청.
startAdvertisingStart BLE advertising as a peripheral.
stopAdvertisingStop BLE advertising.
startForegroundServiceStart a foreground service to maintain BLE connections in background (Android only).
stopForegroundServiceForeground BLE service stop (Android only).
getPluginVersionGet the native Capacitor plugin version.
addListenerBLE device scanned event listener add.
addListenerBLE device connected event listener add.
addListenerBLE device disconnected event listener add.
addListenerBLE characteristic changed event listener add.
removeAllListenersBLE event listener remove.

기본 데이터 저장소

BLE 연결 및 데이터 관리

이 참조는 Cloudflare에서同步됩니다. src/definitions.ts in capacitor-블루투스 저전력.

capgo에서 계속하기 @capgo/capacitor-블루투스 저전력

capgo에서 계속하기 @capgo/capacitor-블루투스 저전력 제목

Capacitor를 사용하는 경우 @capgo/capacitor-블루투스 저전력 __CAPGO_KEEP_0__ Enterprise와 연결하여 Capacitor를 사용하여 @capgo/capacitor-블루투스 저전력 Capacitor를 사용하여 @capgo/capacitor-블루투스 저전력의 원시 기능을 사용합니다. Capgo Enterprise Capgo Enterprise의 제품 워크플로우 Ionic Enterprise Plugin 대체 Ionic Enterprise Plugin 대체 제품 워크플로우를 위해 Capgo 대체 Capgo 대체 제품 워크플로우를 위해, Capgo 컨설팅 Capgo 컨설팅 제품 워크플로우를 위해.