Search found 44 matches
- Wed Apr 18, 2018 8:33 am
- Forum: General Discussion
- Topic: void (* wifi_promiscuous_cb_t)(void *buf, wifi_promiscuous_pkt_type_t type);"buf" point "Statitx Rx buffer" or "dynamic?
- Replies: 0
- Views: 2241
void (* wifi_promiscuous_cb_t)(void *buf, wifi_promiscuous_pkt_type_t type);"buf" point "Statitx Rx buffer" or "dynamic?
The callback function :void (* wifi_promiscuous_cb_t)(void *buf, wifi_promiscuous_pkt_type_t type).If this callback function is registered,when received packet,The function will be called and the contents of packets will be pointed by *buf. And I have read wifi driver from API guide from esp32 progr...
- Thu Mar 29, 2018 12:45 am
- Forum: General Discussion
- Topic: If esp_wifi_80211_tx is used. Can esp32 enter modem sleep?
- Replies: 0
- Views: 2242
If esp_wifi_80211_tx is used. Can esp32 enter modem sleep?
Hi ! I want to use esp_wifi_80211_tx, and I hope that esp32 can enter in modem sleep.I wrote a sample project. Base on esp-idf commitc 97b8756f740297e23f3011603724005db22c557 .The attatchment is my sample code ,sdkconfig file and experimental picture. No matter whether I use "esp_wifi_set_ps (WIFI_P...
- Tue Mar 20, 2018 11:25 am
- Forum: General Discussion
- Topic: The problem of packet capture ability of esp32 promiscuous mode.
- Replies: 1
- Views: 6030
The problem of packet capture ability of esp32 promiscuous mode.
I did a experiment.Send packets from esp32,using esp_wifi_80211_tx.Another esp32 capture data in promiscuous mode.Data size per packet is 961 bytes. Counting how many packets been captured by esp32's promiscuous mode per 120 packets.It is showed that, esp32's promiscous mode lost a lot of packets.Is...
- Mon Mar 19, 2018 5:44 am
- Forum: General Discussion
- Topic: "wifi:out of memory" when using esp_wifi_80211_tx.
- Replies: 1
- Views: 3129
Re: "wifi:out of memory" when using esp_wifi_80211_tx.
Is there a way that the application layer can detect that WiFi TX buffer is enough ,then send data through esp_wifi_80211_tx?
- Sat Mar 17, 2018 3:49 am
- Forum: General Discussion
- Topic: "wifi:out of memory" when using esp_wifi_80211_tx.
- Replies: 1
- Views: 3129
"wifi:out of memory" when using esp_wifi_80211_tx.
Refer to this post of https://www.esp32.com/viewtopic.php? F=19&t=3017&p=15265&hilit=sniffer#p15265.I wrote a code: /** * Copyright (c) 2018, xiaojixun <jason@rdyheath.com> * ESP32 * esp_wifi_80211_tx. */ #include <stdlib.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "esp_wifi.h" #i...
- Fri Mar 16, 2018 2:36 am
- Forum: General Discussion
- Topic: Do you have a complete example of using esp_wifi_80211_tx to transmit data?
- Replies: 1
- Views: 4927
Do you have a complete example of using esp_wifi_80211_tx to transmit data?
Do you have a complete example of using esp_wifi_80211_tx to transmit data?Inluding the definition of the header of 80211.
- Fri Mar 16, 2018 2:04 am
- Forum: General Discussion
- Topic: What is the data rate of esp_now?Can esp_now be used as a large amount of data transmission?
- Replies: 1
- Views: 6505
What is the data rate of esp_now?Can esp_now be used as a large amount of data transmission?
ESP-NOW is widely used in smart light, remote controlling, sensor, etc. According to this sentence,the transmission rate of esp_now is slow.So ,How much is the transmission rate of esp_now? I just made a little change on the example of esp_now.Each 115200bytes (480 packets, each packet contains 240...
- Fri Jan 26, 2018 1:56 am
- Forum: General Discussion
- Topic: Why esp32 does not enter the 80211n mode when the AP is fixed to 80211n?
- Replies: 0
- Views: 2365
Why esp32 does not enter the 80211n mode when the AP is fixed to 80211n?
ESP32 as station,we use d2wd.Another device(mt7601) as AP.Mt7601 supports 80211bgn. If AP is fixed to 80211b, all of the transceiver packages between AP and esp32 are 80211b mode. If AP is fixed to 80211g, all of the transceiver packages between AP and esp32 are 80211g mode. If AP is fixed to 80211n...
- Thu Jan 25, 2018 3:31 am
- Forum: General Discussion
- Topic: Esp32 as statiton,how to make esp32 ignore beacon?
- Replies: 0
- Views: 2102
Esp32 as statiton,how to make esp32 ignore beacon?
From the test from wireshark,I found beacon influence the sending packets of esp32.How to make esp32 ignore beacon?
- Fri Jan 05, 2018 5:58 am
- Forum: General Discussion
- Topic: How to set the "sendto" function as a blocking?
- Replies: 4
- Views: 7649
Re: How to set the "sendto" function as a blocking?
By default, a UDP socket is blocking and if the UDP buffer is full then "sendto" will block "If the UDP buffer is full then "sendto" will block".So why the "sendto" return fail and fail reason is ENOMEM. If you need to make the socket blocking again then you can call fcntl(fd, F_SETFL, 0) I tried f...