Search found 30 matches

by Weijian-Espressif
Thu May 21, 2020 9:38 am
Forum: 硬件问题讨论
Topic: esp 使用几次后蓝牙搜索不到问题?
Replies: 7
Views: 1143

Re: esp 使用几次后蓝牙搜索不到问题?

Hi.
请提供你现在使用的 IDF 版本信息, 谢谢. 另外为了尽快解决您的问题, 请联系我们, 我们会安排资源协助您解决问题.
by Weijian-Espressif
Tue May 19, 2020 8:07 am
Forum: 硬件问题讨论
Topic: esp 使用几次后蓝牙搜索不到问题?
Replies: 7
Views: 1143

Re: esp 使用几次后蓝牙搜索不到问题?

Hi, 1. 请提供你们使用的 IDF 版本信息和 gatt_server_service_table example 的测试 log 信息. 2. 在 gatt_server_service_table example 中将 adv_params 参数中 adv_type 设置为 ADV_TYPE_NONCONN_IND, 重新烧录后测试 Android 手机是否能搜索到设备广播 static esp_ble_adv_params_t adv_params = { .adv_int_min = 0x20, .adv_int_max = 0x40, .adv_type = ADV_TYPE_N...
by Weijian-Espressif
Fri Jun 28, 2019 8:26 am
Forum: ESP32 IDF
Topic: ble_spp_client and ble_spp_client and wifi coexistence
Replies: 3
Views: 877

Re: ble_spp_client and ble_spp_client and wifi coexistence

HI, Please provide your *.elf file and test log
by Weijian-Espressif
Thu Jun 20, 2019 4:00 am
Forum: ESP32 IDF
Topic: ESP take turns between BLE and Wi-Fi? esp-idf
Replies: 4
Views: 1702

Re: ESP take turns between BLE and Wi-Fi? esp-idf

Hi :
WiFi and Bluetooth are working on single radio, So the performance of Bluetooth and wifi will be affected. If you are no longer using Bluetooth, please release Bluetooth.
by Weijian-Espressif
Thu Jun 20, 2019 2:42 am
Forum: ESP32 IDF
Topic: ESP take turns between BLE and Wi-Fi? esp-idf
Replies: 4
Views: 1702

Re: ESP take turns between BLE and Wi-Fi? esp-idf

Hi : ESP32 supports Bluetooth and WIFI coexistence. You can init Bluetooth and WIFI at the same time. When WIFI connected to the AP, you can disconnect BLE. if you do not use BLE anymore, you can release Bluetooth: esp_bluedroid_disable(); esp_bluedroid_deinit(); esp_bt_controller_disable(); esp_bt_...
by Weijian-Espressif
Wed Jun 19, 2019 2:34 am
Forum: General Discussion
Topic: [SOLVED] ESP_GATTC_CONNECT_EVT fired for each gattc_if when multiple apps registered
Replies: 1
Views: 533

Re: ESP_GATTC_CONNECT_EVT fired for each gattc_if when multiple apps registered

This is normal behavior, and all apps will be notified when connected or disconnected.
by Weijian-Espressif
Wed Jan 16, 2019 9:57 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server如何一个服务增加多个特征值
Replies: 6
Views: 2706

Re: gatt_server如何一个服务增加多个特征值

上面的测试代码, 可以直接将 gatts_demo.c 中的代码替换掉, 烧录运行. service 结构如下: - service A 00FF - char 0xFF01 - descr - char 0xFF02 -service B 00EE - char 0xEE01 - descr 请注意: 1. add char 或者 descr 的结果, 请在 GATTS 回调函数中 ESP_GATTS_ADD_CHAR_EVT 或者 ESP_GATTS_ADD_CHAR_DESCR_EVT 事件中, 检查 status 2. 如果你想增加新的char 或者descr, GATTS_NUM_H...
by Weijian-Espressif
Wed Jan 16, 2019 9:50 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server如何一个服务增加多个特征值
Replies: 6
Views: 2706

Re: gatt_server如何一个服务增加多个特征值

请参考以下测试代码: /* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ /***********************...
by Weijian-Espressif
Mon Dec 24, 2018 7:49 am
Forum: ESP-IDF 中文讨论版
Topic: Blufi Sample code Error or Bug??
Replies: 3
Views: 1711

Re: Blufi Sample code Error or Bug??

1. send notification 报错是因为wifi 状态发生了改变, blufi 会将report 发送给手机, 如果此时蓝牙已经断开, 会出现这个错误
2. blufi 每发送一条指令, 序列号会自动加1, 蓝牙断开会把序列号清零. btc_blufi_recv_handler seq 0 is not expect 5 出现这种错误是因为序列号错误, 之前已经有设备连接上blufi,没有断开, 又有新的设备连接上blufi. 新的设备发送指令序列号是从0开始的, 这就导致序列号不匹配报错

Go to advanced search