AT 固件版本:release/v2.2.0.0 版本
使用“AT+BLEADVDATA”定义了蓝牙的广播的蓝牙名称,使用“蓝牙调试助手” 和 “Light Blue”APP ,在安卓手机上扫描 ESP32 的 BLE 设备,能正常搜索到改 BLE Name 之后的名称;但在 IOS 手机上,使用“蓝牙调试助手” 和 “Light Blue”APP , 发现蓝牙名称没有改掉,还是 ESP32。但使用“nRF Connect” APP 搜索都是正常的。为什么呢?
测试同时使用 AT+BLENAME 和 AT+BLEADVDATA 定义的设备名称, “Light Blue”APP 端会显示上一次通过 AT+BLENAME 命令修改的 BLE NAME 。但扫描到的 BLE 设备始终不会显示 AT+BLEADVDATA 定义的设备名称。
【AT】蓝牙调试助手扫描 BLE 设备名称没变
Moderator: ESP_XCGuang
【AT】蓝牙调试助手扫描 BLE 设备名称没变
Last edited by Rainbow on Tue Aug 31, 2021 6:29 am, edited 1 time in total.
Re: 【AT】蓝牙调试助手扫描 BLE 设备名称没变
测试发现用 AT+BLEADVDATAEX="666","A002","0102030405",1 命令可以立马改掉 BLE NAME
Re: 【AT】蓝牙调试助手扫描 BLE 设备名称没变
您好,对于您的问题,回答如下:
手机 APP 显示 BLE 的什么设备名称是根据 APP 的解析方式来的,BLE 设备名称有两个地方可以体现,一个是广播,另一个是设备的 name 特征值。
建议您可以通过 AT+BLEADVDATA 设置广播,通过 AT+BLENAME 设置 name 特征值。这两个地方要同时修改。
手机 APP 显示 BLE 的什么设备名称是根据 APP 的解析方式来的,BLE 设备名称有两个地方可以体现,一个是广播,另一个是设备的 name 特征值。
建议您可以通过 AT+BLEADVDATA 设置广播,通过 AT+BLENAME 设置 name 特征值。这两个地方要同时修改。
Who is online
Users browsing this forum: No registered users and 60 guests