Search found 14 matches

by nick.yao
Mon Dec 02, 2019 11:44 am
Forum: ESP-IDF 中文讨论版
Topic: BLE距离问题
Replies: 4
Views: 10004

Re: BLE距离问题

在gattc_profile_event_handler的ESP_GATTC_CONNECT_EVT中将代码改写成: case ESP_GATTC_CONNECT_EVT: ESP_LOGI(GATTC_TAG, "ESP_GATTC_CONNECT_EVT: conn_id=%d, gatt_if = %d", spp_conn_id, gattc_if); ESP_LOGI(GATTC_TAG, "REMOTE BDA:"); esp_log_buffer_hex(GATTC_TAG, gl_profile_tab[PROFILE_APP_ID].remote_bda, sizeof(es...
by nick.yao
Thu Nov 28, 2019 10:55 am
Forum: ESP-IDF 中文讨论版
Topic: BLE距离问题
Replies: 4
Views: 10004

Re: BLE距离问题

for(i=0; i<ESP_BLE_PWR_TYPE_DEFAULT; i++){ ret = esp_ble_tx_power_set(i,ESP_PWR_LVL_P7); if (ret) { ESP_LOGE(GATTC_TAG, "%s set ble tx power failed: %s\n", __func__, esp_err_to_name(ret)); return; }else{ ESP_LOGE(GATTC_TAG, "%s set ble tx power success\n", __func__); } } 程序中加入以上代码后,测试距离,没有什么变化啊!!
by nick.yao
Thu Nov 28, 2019 7:34 am
Forum: ESP-IDF 中文讨论版
Topic: BLE距离问题
Replies: 4
Views: 10004

BLE距离问题

目前用ESP32-WROOM-32做一个产品,ESP32做BLE的client去连接另一个设备(这个设备与手机通讯时的距离大于30米),发现2者之间的距离只有7~8米,不能满足需求,请问有什么办法可以增加这个距离呢?
by nick.yao
Fri Oct 25, 2019 7:43 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32-WROOM-32烧录后一直复位
Replies: 1
Views: 8787

ESP32-WROOM-32烧录后一直复位

烧录完程序后一直打印如下信息: ets Jun 8 2016 00:22:57 rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:6428 load:0x40078000,len:11460 load:0x40080400,l...
by nick.yao
Tue Oct 22, 2019 11:54 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32如何触发软件复位?
Replies: 5
Views: 18066

ESP32如何触发软件复位?

ESP32如何触发软件复位?
by nick.yao
Wed Jul 17, 2019 11:15 am
Forum: General Discussion
Topic: ESP32-WROOM-32 Work As AP
Replies: 2
Views: 4325

Re: ESP32-WROOM-32 Work As AP

By submitting an error to espressif officially, I received the following reply: I found out that this was because the iPhone did not send a deauth packet when the wifi was turned off, causing 32 unable to detect that the phone was disconnected. When ESP32 is used as Ap, if the STA does not receive d...
by nick.yao
Wed Jul 17, 2019 11:09 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32-WROOM-32 做AP的问题
Replies: 1
Views: 4484

Re: ESP32-WROOM-32 做AP的问题

通过向乐鑫提交BUG,得到如下反馈:
经测试发现出现这种情况是因为iphone手机在关掉wifi的时候没有发送deauth包,导致32检测不到手机断开。而ESP32作为Ap的时候,如果超过5min没有收到STA的数据,则会主动踢出STA。
by nick.yao
Fri Jul 05, 2019 8:53 am
Forum: General Discussion
Topic: ESP32-WROOM-32 Work As AP
Replies: 2
Views: 4325

Re: ESP32-WROOM-32 Work As AP

Is anybody know why?
by nick.yao
Fri Jun 28, 2019 2:07 am
Forum: General Discussion
Topic: ESP32-WROOM-32 Work As AP
Replies: 2
Views: 4325

ESP32-WROOM-32 Work As AP

When using ESP32 as a hotspot, if you connect the module with an Android phone or a computer, the module can detect that the Android phone/computer is disconnected when disconnected. But with the Apple phone connection module, when disconnected, the module seems to often fail to detect that the Appl...
by nick.yao
Thu Jun 27, 2019 7:12 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32-WROOM-32 做AP的问题
Replies: 1
Views: 4484

ESP32-WROOM-32 做AP的问题

用ESP32做热点时,如果用安卓手机或者电脑连接模块,在断开连接时,模块能检测到安卓手机/电脑断开了。但是用苹果手机连接模块,在断开时,模块好像经常检测不到苹果手机断开了。是通过SYSTEM_EVENT_AP_STADISCONNECTED事件打印调试信息来观察的。
这样导致的问题是,当设置只运行1个STA连接模块时,即使是苹果手机已经关闭了WIFI,其他手机也无法连接模块。
有人遇到过跟我一样的问题吗?