Search found 7 matches

by pandabiu
Wed Mar 02, 2022 9:36 am
Forum: ESP-IDF 中文讨论版
Topic: AP与STA连接一段时间后断开
Replies: 1
Views: 1933

AP与STA连接一段时间后断开

使用IDF版本:esp-idf release v4.3 问题描述:STA与AP建立连接,并发送从1起的序列号,建立连接后发送到第六帧时会自动断开连接,不再正常工作。报错提示如下: W (3050) wifi:<ba-add>idx:0 (ifx:0, 94:b9:7e:d6:13:d1), tid:0, ssn:0, winSize:64 完整日志如下: I (1097) wifi:connected with bob, aid = 1, channel 6, 40U, bssid = 94:b9:7e:d6:13:d1 I (1100) wifi:security: WPA2-PSK, p...
by pandabiu
Wed Dec 15, 2021 4:17 pm
Forum: ESP-IDF 中文讨论版
Topic: [已解决]ESP32作为STA时连接不上另一作为AP的ESP32
Replies: 4
Views: 11383

Re: ESP32作为STA时连接不上另一作为AP的ESP32

问题已解决,不是密码和sssid的问题,是因为我个人第一次使用而没有装天线,导致信号强度太弱,ST无法扫描到AP。
by pandabiu
Sun Dec 12, 2021 8:30 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32中CSI数据与子载波序号对应关系
Replies: 3
Views: 6302

ESP32中CSI数据与子载波序号对应关系

使用了两块ESP32开发板分别作为AP和STA进行CSI信道状态信息的采集, ESP-IDF版本为4.2.1; 采集工具为:https://stevenmhernandez.github.io/ESP32-CSI-Tool/ 采集原理:利用struct wifi_csi_info_t的 成员变量buf,按实部,虚部逐一输出CSI数据。总共只取前128,即64byte。 现象:收集了长训练字段 (LLTF)的CSI,每一帧得到了64组值。根据802.11n的相关资料表明64个子载波在20MHz时理应只有52个子载波有数据,其余为空。(个人理解为最终取到64个子载波的CSI数据里,也只有52个是有...
by pandabiu
Tue Nov 23, 2021 3:38 am
Forum: ESP-IDF 中文讨论版
Topic: [已解决]ESP32作为STA时连接不上另一作为AP的ESP32
Replies: 4
Views: 11383

Re: ESP32作为STA时连接不上另一作为AP的ESP32

1. 作为 STA 的 ESP32 和 作为 softAP 的 ESP32 距离多远? 是否因为距离太远连不上? 可以查看 disconnect event 的 reason code 是多少 else if (event_id == WIFI_EVENT_STA_DISCONNECTED) { wifi_event_sta_disconnected_t* disconnected = (wifi_event_sta_disconnected_t*) event_data; ESP_LOGE(TAG, "Disconnect reason : %d", disconnected->reaso...
by pandabiu
Sat Nov 13, 2021 3:41 am
Forum: ESP-IDF
Topic: When exporting datas:BrokenPipeError: [Errno 32] Broken pipe #40
Replies: 1
Views: 2550

When exporting datas:BrokenPipeError: [Errno 32] Broken pipe #40

**Describe the bug When using the command:idf.py -p /dev/ttyUSB0 monitor | grep "CSI_DATA" > my-experiment-file.csv ,there is a error:BrokenPipeError: [Errno 32] Broken pipe **Tool Settings Baud Rate: [1152000] (using a lower baud rate WILL cause issues. this is the most common issue) WiFi Channel p...
by pandabiu
Fri Nov 12, 2021 2:30 am
Forum: ESP-IDF 中文讨论版
Topic: [已解决]ESP32作为STA时连接不上另一作为AP的ESP32
Replies: 4
Views: 11383

[已解决]ESP32作为STA时连接不上另一作为AP的ESP32

使用的是ESP32 CSI Toolkit的官方代码,想要实现ESP32分别作为AP 和STA能互连,并且收集CSI。目前遇到的问题是:ESP32作为STA时能连接我自己的手机热点,并且收集到CSI。另一作为AP的ESP32能被我的手机发现并且连接成功,收集到CSI。但是当我想要让作为STA的ESP32去连接作为AP的ESP32时,总是连接不上,“wifi not connected. waiting...”。已经检查过对应的ssid、password、信道设置没有问题。
by pandabiu
Fri Nov 12, 2021 2:15 am
Forum: ESP-IDF
Topic: When ESP32 is used as STA, it cannot connect to another ESP32 which is used as AP
Replies: 0
Views: 1270

When ESP32 is used as STA, it cannot connect to another ESP32 which is used as AP

I use the ESP32 CSI Toolkit and want to collect CSI between 2 ESP32s For the ESP32 is used as STA:it can connect to my mobile hotspot and collect CSI. For the ESP32 is used as AP:I can find it on my phone and it allows mobile phone access,collect CSI. The problem that I faced is when I want to conne...