BabyBluetooth icon indicating copy to clipboard operation
BabyBluetooth copied to clipboard

更改蓝牙名称过后,再次扫描获取到的是更改之前的设备名称

Open HZHCoder1990 opened this issue 7 years ago • 2 comments

更改蓝牙名称成功过后,再次扫描设备名称,发现获取到的是没有更改之前的设备及名称;如果退出当前界面,再次进入时,扫描到的设备是更改过后的设备及名称!

HZHCoder1990 avatar Jul 10 '18 06:07 HZHCoder1990

你的设备名是指厂商信息 还是peripheral.name 你可以在扫描参数 CBCentralManagerScanOptionAllowDuplicatesKey设置成@YES 然后扫描到时候打印log看看

chenzenghui2013 avatar Jul 25 '18 08:07 chenzenghui2013

谢谢

HZHCoder1990 avatar Aug 04 '18 09:08 HZHCoder1990