I am developing one app using Ionic capacitor project for android. My project version is Ionic-6.20 and angular -16.0.0 and Bluetooth LE V-6.7.4.In this project am used Bluetooth-le plugin for connecting with ble device everything is fine with this plugin. But I need to pair before connecting with BLE device. In my project I need to programmatically pair with device. User cannot enter the passkey. If I can use setPin method it shows error as property "setpin" method does not exist on type 'BluetoothLE'. How to solve the issue. Setpin method is mandatory for my project for some secure reasons.
I am developing one app using Ionic capacitor project for android. My project version is Ionic-6.20 and angular -16.0.0 and Bluetooth LE V-6.7.4.In this project am used Bluetooth-le plugin for connecting with ble device everything is fine with this plugin. But I need to pair before connecting with BLE device. In my project I need to programmatically pair with device. User cannot enter the passkey. If I can use setPin method it shows error as property "setpin" method does not exist on type 'BluetoothLE'. How to solve the issue. Setpin method is mandatory for my project for some secure reasons.