You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A strange phenomenon, I introduced two Bluetooth plugins, cordova-plugin-ble-central and cordova-plugin-bluetooth-serial. The former is used to handle BLE type Bluetooth devices, while the latter handles classic Bluetooth. However, when I use the methods of the second plugin alone on my device (HUAWEI M6), for example: bluetoothSerial.setDeviceDiscoveredListener(deviceDiscoveredListener); bluetoothSerial.discoverUnpaired(onDiscoverUnpaired); it does not scan any Bluetooth devices. Only when I first call the scanning method of the first plugin (ble.startScan) and delay for a while, the discover method of the second plugin can return Bluetooth information to me.
The text was updated successfully, but these errors were encountered:
A strange phenomenon, I introduced two Bluetooth plugins,
cordova-plugin-ble-central
andcordova-plugin-bluetooth-serial
. The former is used to handle BLE type Bluetooth devices, while the latter handles classic Bluetooth. However, when I use the methods of the second plugin alone on my device (HUAWEI M6), for example:bluetoothSerial.setDeviceDiscoveredListener(deviceDiscoveredListener); bluetoothSerial.discoverUnpaired(onDiscoverUnpaired);
it does not scan any Bluetooth devices. Only when I first call the scanning method of the first plugin (ble.startScan
) and delay for a while, the discover method of the second plugin can return Bluetooth information to me.The text was updated successfully, but these errors were encountered: