Search found 28 matches

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: 176

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: 222

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: 222

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: 109

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: 1196

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: 1196

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: 701

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开始的, 这就导致序列号不匹配报错
by Weijian-Espressif
Mon Dec 17, 2018 6:22 am
Forum: ESP-IDF 中文讨论版
Topic: 如何为两个服务的蓝牙加密?
Replies: 5
Views: 1741

Re: 如何为两个服务的蓝牙加密?

hi 请参考gatt_security_server example , 加密成功以后蓝牙通信已经被加密了,底层数据交互是加密的, 设备收到数据后解密然后才传到应用层. 请用ihone 测试 gatt_security_server example, 我测试的结果是正常的. 如果你的测试结果依然有问题, 请提供你的测试log 和 你使用的IDF 的ccommit id, 谢谢.

Go to advanced search