Skip to content

Unable to scan Bluetooth devices. #463

Description

@DONGNEZHA

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.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions