Search found 14 matches

by ChiShaoJun
Fri Dec 14, 2018 2:55 am
Forum: ESP-IDF 中文讨论版
Topic: ESP_GATTS_EXEC_WRITE_EVT与ESP_GATTS_WRITE_EVT的区别
Replies: 0
Views: 27

ESP_GATTS_EXEC_WRITE_EVT与ESP_GATTS_WRITE_EVT的区别

请问下GATT服务器回调函数事件中,ESP_GATTS_EXEC_WRITE_EVT与ESP_GATTS_WRITE_EVT的区别在哪里?
by ChiShaoJun
Thu Dec 13, 2018 2:20 am
Forum: ESP-IDF 中文讨论版
Topic: BLE广播连接之后找不到服务
Replies: 3
Views: 120

Re: BLE广播连接之后找不到服务

换了个蓝牙调试助手搜到服务了。
by ChiShaoJun
Tue Dec 11, 2018 4:44 am
Forum: ESP32 IDF
Topic: ble adv ok but can't find server
Replies: 1
Views: 78

ble adv ok but can't find server

program:gatt_server_service_table mobile phone:honor 7x log: root@ubuntu:~/esp/gatt_server_service_table# make monitor Toolchain path: /home/kyle/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /home/ky...
by ChiShaoJun
Tue Dec 11, 2018 4:38 am
Forum: ESP-IDF 中文讨论版
Topic: BLE广播连接之后找不到服务
Replies: 3
Views: 120

BLE广播连接之后找不到服务

例程为:gatt_server_service_table 手机为:honor 7x 现象:见截图 关键日志为: root@ubuntu:~/esp/gatt_server_service_table# make monitor Toolchain path: /home/kyle/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc Toolchain version: crosstool-ng-1.22.0-80-g6c4433a Compiler version: 5.2.0 Python requirements from /home/kyle/e...
by ChiShaoJun
Mon Dec 10, 2018 9:30 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server如何一个服务增加多个特征值
Replies: 1
Views: 78

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

case ESP_GATTS_CREATE_EVT: ESP_LOGI(BT_BLE_COEX_TAG, "CREATE_SERVICE_EVT, status %d, service_handle %d\n", param->create.status, param->create.service_handle); gl_profile_tab[PROFILE_A_APP_ID].service_handle = param->create.service_handle; gl_profile_tab[PROFILE_A_APP_ID].char_uuid.len = ESP_UUID_L...
by ChiShaoJun
Mon Dec 10, 2018 2:36 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server_service_table例程失败
Replies: 15
Views: 479

Re: gatt_server_service_table例程失败

修改测试了,小米6的还是不行,图片是honor7x ble广播数据截图
by ChiShaoJun
Fri Dec 07, 2018 3:45 am
Forum: ESP-IDF 中文讨论版
Topic: BLE跟BT名字相同
Replies: 2
Views: 125

Re: BLE跟BT名字相同

这个我在esp_bt_dev_set_device_name()函数说明上看到了。 A BR/EDR/LE device type shall have a single Bluetooth device name which shall be identical irrespective of the physical channel used to perform the name discovery procedure. 翻译:BR / EDR / LE设备类型应具有单个蓝牙设备名称,无论用于执行名称发现过程的物理信道如何,该名称都应相同。 这句话给我的意思是:不同信道,名字应该要统一。...
by ChiShaoJun
Thu Dec 06, 2018 8:38 am
Forum: ESP-IDF 中文讨论版
Topic: BLE跟BT名字相同
Replies: 2
Views: 125

BLE跟BT名字相同

我这边使用esp_ble_gap_set_device_name和esp_bt_dev_set_device_name为BLE和BT取名的时候,BLE和BT的名字一样。是这两个函数有冲突吗?
by ChiShaoJun
Thu Dec 06, 2018 7:57 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server_service_table例程失败
Replies: 15
Views: 479

Re: gatt_server_service_table例程失败

你好,买的蓝牙dongle到了。图片尾号1为gatt_server_service_table例程中#define CONFIG_SET_RAW_ADV_DATA没有注释的情况。 图片尾号1为gatt_server_service_table例程中#define CONFIG_SET_RAW_ADV_DATA注释了的情况。 其中情况1,华为的ble调试助手,广播有段数据不完整,你看看是不是这问题? 我这边发不了psd文件,QQ截图也上传不了,只能放网盘上了 链接:https://pan.baidu.com/s/16_4nFiKx6N4aSfIGes0gcw 提取码:0o7b 复制这段内容后打开...
by ChiShaoJun
Fri Nov 30, 2018 1:53 am
Forum: ESP-IDF 中文讨论版
Topic: gatt_server_service_table例程失败
Replies: 15
Views: 479

Re: gatt_server_service_table例程失败

#define CONFIG_SET_RAW_ADV_DATA注释掉是可用的。

Go to advanced search