Search found 12 matches

by Xarlan
Wed Feb 27, 2019 8:56 am
Forum: ESP-IDF
Topic: Promiscuous mode in WiFi is stoped by UART driver
Replies: 0
Views: 3030

Promiscuous mode in WiFi is stoped by UART driver

Hello
I use ESP-IDF v 3.1.2
devbord - ESP32-PICO-KIT.
I try to realize wi-fi sniffer, send via UART captured 802.11 frame. Also in asynchronous mode receive settings from PC.
So, this code is initialize UART

uart_config_t uart_cfg = {
.baud_rate = UART_2_PC_BAUD_RATE,
.data_bits = UART_DATA_8 ...
by Xarlan
Thu Jan 10, 2019 8:12 am
Forum: Hardware
Topic: ADS1256 with ESP32 idf
Replies: 3
Views: 10350

Re: ADS1256 with ESP32 idf

2. I don't fully understand the purpose of pre_cb and post_cb callback. When do we use them?
This is an additional functionality.
For example, you have LCD with SPI interface. This LCD has 1 input: "0" - spi transfer data, "1" spi transfer command.
So you can use pre_cb to set this pin.

3. The ...
by Xarlan
Sat Jan 05, 2019 8:05 pm
Forum: ESP-IDF
Topic: strange behavior "make flash"
Replies: 2
Views: 4862

Re: strange behavior "make flash"

2 vonnieda
thank you for fast reply

As I see the troubleshooting was from Eclipse.
First trouble - when I press "build" - current version of Eclipse don't save changes
Second trouble - the flashing start work properly after I done "make all", "make flash" in console, after that build and flash ...
by Xarlan
Fri Jan 04, 2019 6:24 pm
Forum: ESP-IDF
Topic: ESP32 IEEE802.11 payload encryption and decryption API
Replies: 12
Views: 16333

Re: ESP32 IEEE802.11 payload encryption and decryption API

I believe there should not be any function to decrypt message due to security reason at stack level still need to confirm with Espressif Team for that.
I mean use this "magic function" ( like wpa2_decrypt(*message, *wpa2_key)) to decrypt message into my wi-fi network.
For example, I have some ...
by Xarlan
Fri Jan 04, 2019 5:43 pm
Forum: ESP-IDF
Topic: strange behavior "make flash"
Replies: 2
Views: 4862

strange behavior "make flash"

Hello
Host OS:
Linux 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Linux Mint 19.1 Mate
esp32: ESP32-PICO-KIT V4 board
ESP-IDF:
$ git describe --tags --dirty
v3.3-beta1-169-g3c94b6e10
I changed the owner for "/opt/esp32/*" - current owner is me/user ...
by Xarlan
Mon Dec 24, 2018 9:32 am
Forum: ESP-IDF
Topic: ESP32 IEEE802.11 payload encryption and decryption API
Replies: 12
Views: 16333

Re: ESP32 IEEE802.11 payload encryption and decryption API

Hi
Now my query is how can I check that received payload is encrypted or not?
Look at the MAC header -> Frame Control -> Protected Frame Field
However, this bit indicate only thst frame is encrypted, but what type of encryption - WEP/WPA/WPA2 - has no information

Question continued
for example, I ...
by Xarlan
Fri Aug 24, 2018 9:52 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 468
Views: 1083180

Re: What would you like to see in The Next Chip?

(how much EPs did you have in mind, by the way, and did you have a specific purpose in mind?
for example to realize usb-sniffer.

Is it possible to reduce power consuption?

ESP32: Transmit BT/BLE, POUT = 0 dBm - 130 - mA
nRF52832: TX only run current PRF = 0dBm 11.6 mA

The support 802.15.4 ...
by Xarlan
Wed Jul 18, 2018 11:23 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 468
Views: 1083180

Re: What would you like to see in The Next Chip?

May be more friendly name of GPIO?
esp32_01.png

I mean at current version of ESP32/ESP32-PICO-D4
"pad 10" == "IO34"
Or if we look the documentation https://www.espressif.com/sites/default/files/documentation/esp32-pico-d4_datasheet_en.pdf
page 9
"IO 15" == "pad 21" == "RTC_GPIO 13" .... wtf ...
by Xarlan
Tue Jul 17, 2018 10:09 am
Forum: General Discussion
Topic: SPI Maximum speed
Replies: 12
Views: 68522

Re: SPI Maximum speed

Well
CPU Frequency - 240MHz
Flash SPI speed - 80 MHz
At this moment - maximum stable frequensy of SPI = 18MHz.
(Send command and data to MAX3421E to blink led)
Perhups, the long wire don't allow setup SPI CLK more up
photo_2018-07-17_13-04-38.jpg
photo_2018-07-17_13-04-38.jpg (62.25 KiB) Viewed 60708 times
by Xarlan
Mon Jul 16, 2018 1:06 pm
Forum: General Discussion
Topic: SPI Maximum speed
Replies: 12
Views: 68522

Re: SPI Maximum speed

My result:
in case use HSPI & VSPI mapped like this:
HSPI_CLK = 14 or 25 GPIO
HSPI_MOSI = 13 or 26 GPIO
HSPI_MISO = 12 or 32 GPIO
HSPI_CS = 15 or 33 GPIO

VSPI_CLK = 18 or 21 GPIO
VSPI_MOSI = 23 or 22 GPIO
VSPI_MISO = 19 or 19 GPIO
VSPI_CS = 05 or 23 GPIO

the maximum speed of CLK is 9 MHz.
photo ...

Go to advanced search