Search found 6 matches

by mryboy
Thu Jun 24, 2021 2:36 am
Forum: ESP-IDF 中文讨论版
Topic: 经典蓝牙广播数据问题
Replies: 1
Views: 3007

经典蓝牙广播数据问题

模块:ESP32-WROVER-B IDF:release/v4.3 协议:经典蓝牙,GAP+SPP 需求:蓝牙广播的时候传递信息 问题描述:没有找到这种需求的例程,发现GAP的API中esp_bt_gap_config_eir_data可以配置数据,广播时能收到。一开始include_uuid设置为false,发现电脑上接收到一个manufacturer数据包,数据比manufacturer_len配置的大小少2个字节,而且配置的长度大于50个字节后就无效了;include_uuid设置为true能收到两个manufacturer数据包,一个是26字节,一个是20字节,第一个的数据是缓冲区配...
by mryboy
Wed Jun 23, 2021 4:31 am
Forum: ESP-IDF 中文讨论版
Topic: [已解决] 蓝牙连接错误
Replies: 1
Views: 3305

Re: 蓝牙连接错误

已解决。
ESP_ERROR_CHECK(esp_bt_controller_mem_release(ESP_BT_MODE_BLE));
这里的参数必须是ESP_BT_MODE_BLE,我之前把这里改成了ESP_BT_MODE_CLASS_BT,就发生了上面的错误
by mryboy
Wed Jun 23, 2021 3:26 am
Forum: ESP-IDF 中文讨论版
Topic: [已解决] 蓝牙连接错误
Replies: 1
Views: 3305

[已解决] 蓝牙连接错误

我在手机连接ESP32的蓝牙时出现以下错误,ESP32用的经典蓝牙,GAP+SPP, IDF版本为v4.3,试过V4.4-dev也是如此;请问是怎么产生的,如何修复?谢谢 I (2201) APP_MAIN: memory:internal ram = 177403 B, spi ram: 3198871 B abort() was called at PC 0x400850d3 on core 0 0x400850d3: lock_acquire_generic at /root/esp-idf/components/newlib/locks.c:138 Backtrace:0x400945...
by mryboy
Fri May 29, 2020 5:38 am
Forum: General Discussion
Topic: Multi-flash chips, how to select?
Replies: 2
Views: 4290

Re: Multi-flash chips, how to select?

What a pity. Thanks for your answer.
by mryboy
Fri May 22, 2020 3:28 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32 PICO D4,外接FLASH,如何使用
Replies: 1
Views: 4088

ESP32 PICO D4,外接FLASH,如何使用

大家好:
我现在的板子上,主芯片是ESP32 PICO D4,集成了4MB的FLASH,现在板子上接了另外一颗flash芯片,除了CS#管脚与内部的flash不同,内部的接的GPIO16(由芯片手册可知),外部接的GPIO15,现在如何使用外部的flash下载和启动程序呢?请指教。
谢谢!
by mryboy
Thu May 21, 2020 10:17 am
Forum: General Discussion
Topic: Multi-flash chips, how to select?
Replies: 2
Views: 4290

Multi-flash chips, how to select?

My MCU is ESP32 PICO D4. There are two flash chips on my board(Include the intergrated one). Just the CS# connects with different pins( GPIO16 and GPIO15). Now, the GPIO16 chip is the main chip(download and boot on this chip) . How to make the GPIO15 chip as the main chip? Or, how to map two chips' ...