我正在尝试实现我的应用程序的蓝牙服务。但是当扫描时,我的应用程序没有显示手机蓝牙和蓝牙耳机蓝牙。 仅在控制台中显示没有名称的蓝牙。 请帮我解决这个问题。NativeModules, NativeEventEmitter, View, Text } from 'react-native';
import BleManager from 'react-native-ble-managerBl
android 声明:
Note: You can only scan for Bluetooth LE devices or scan for Classic Bluetooth devices, asYou cannot scan for both Bluetooth LE and classic devices at the same time.但是,我注意到调用mBtAdapter.startDiscovery();将返回经典设备和btle设备。有人知道什么是正确的吗?