Search found 28 matches

by Weijian-Espressif
Thu Nov 29, 2018 6:28 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server_service_table例程失败
Replies: 18
Views: 3258

Re: gatt_server_service_table例程失败

ESP32 我们进行了兼容性测试, 并没有出现这个问题. 小米手机我们测试了 Xiaomi Max 2, Xiaomi 5X, Xiaomi Redmi Note 4, Xiaomi MI 5等 测试都是ok的, 我这边没有小米6手机,无法验证你的问题. BLE 的广播信道是 37, 38, 39 , 这个蓝牙官方定义的, 7X可以搜索到说明我们的BLE 广播是符合标准, 我不确定你的小米6出现了什么问题, 你的小米6 手机是否能够搜索到其他ble 广播? 重启蓝牙是否恢复正常 ? 网上报了很多小米6蓝牙的问题, 是否小米官方有系统升级 或者补丁之类的.我这边试试能不能找到小米6手机 .
by Weijian-Espressif
Thu Nov 29, 2018 2:47 am
Forum: General Discussion
Topic: Do I need to clear bonded devices?
Replies: 10
Views: 2424

Re: Do I need to clear bonded devices?

`esp_bt_gap_remove_bond_device()` is used to remove the classic bluetooth encryption key from flash.
`esp_ble_remove_bond_device()` is used to remove the BLE encryption key from flash.
by Weijian-Espressif
Wed Nov 28, 2018 1:04 pm
Forum: ESP IoT Solution
Topic: BLE "just in time" advertisement
Replies: 3
Views: 1127

Re: BLE "just in time" advertisement

Sorry, I am afraid there is no way to know that a single adv packet has been sent.
by Weijian-Espressif
Wed Nov 28, 2018 11:34 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server_service_table例程失败
Replies: 18
Views: 3258

Re: gatt_server_service_table例程失败

我测试最新的IDF都是正常的, demo 是可以scan 和连接的. 请帮忙做以下测试:
1. 请帮忙确认你的这块 ESP32 之前是否和手机加密连接过 ? 请在手机蓝牙设置里查看是否有配对记录? 如果有请取消所有配对, 重新搜索试试
2. 你还可以找一台新的手机搜索试试 , 是否能搜索到设备广播.
by Weijian-Espressif
Wed Nov 28, 2018 3:56 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server_service_table例程失败
Replies: 18
Views: 3258

Re: gatt_server_service_table例程失败

我刚才更新了IDF, 运行 gatt_server_service_table demo 测试是可以被搜索到的, 蓝牙名字是 ESP_GATTS_DEMO, 从你的log看, service 已经创建成功, 广播也开始了, log 没有任何问题. 请问你有修改过什么代码吗?
by Weijian-Espressif
Tue Nov 27, 2018 1:02 pm
Forum: General Discussion
Topic: Do I need to clear bonded devices?
Replies: 10
Views: 2424

Re: Do I need to clear bonded devices?

ESP32 can store 15 bonded devices, it will delete the oldest bonded device to make room for the new one when the device reaches the limit.
by Weijian-Espressif
Mon Nov 19, 2018 7:15 am
Forum: ESP32 IDF
Topic: H2 read Float BLE Characteristic
Replies: 3
Views: 641

Re: H2 read Float BLE Characteristic

thanks for chegewara's help. please Please follow the chegewara to try.
by Weijian-Espressif
Wed Aug 09, 2017 6:28 am
Forum: ESP32 IDF
Topic: BLE multi-connection procedure
Replies: 10
Views: 8404

Re: BLE multi-connection procedure

hi all, Please update to the latest idf, the attachment is the multi-connection code. we would add the multi-connection demo in the v3.0