Search found 39 matches

by Reiner1210
Mon Dec 30, 2019 12:05 am
Forum: ESP-IDF
Topic: WiFi LR mode
Replies: 11
Views: 19829

Re: WiFi LR mode

I have found a fix for this. For the station of device 1 I need to enable LR mode also. This is possible because LR mode in station is compatible to bgn. I think it is a strange behaviour and should be documented or fixed :-) But when I do this I see that I lost the AP on device 2 for normal devices...
by Reiner1210
Sun Dec 29, 2019 11:51 pm
Forum: ESP-IDF
Topic: ESPNOW and normal WiFi
Replies: 0
Views: 2306

ESPNOW and normal WiFi

Hello,

is it possible that 2 ESP32 communicate via ESPNOW and parallel the 1. device can work in station mode and the 2. device can work in AP mode ? As far as I understood ESP32 has 2 WLANs (Station + AP) so it should work. Or missed I something ?

Reiner
by Reiner1210
Sun Dec 29, 2019 10:58 pm
Forum: ESP-IDF
Topic: WiFi LR mode
Replies: 11
Views: 19829

Re: WiFi LR mode

Connection2 fails. If I disable station (Connection 1) all works fine with LR mode between ESP32 1 and ESP32 2 (but is useless so I dont't tried data transfer). If I use normal WLAN protocol (bgn) for connection2 it also works. So it seems that the AP in LR mode does not work when ESP32 is also in s...
by Reiner1210
Sat Dec 28, 2019 9:16 pm
Forum: ESP-IDF
Topic: WiFi LR mode
Replies: 11
Views: 19829

Re: WiFi LR mode

Yes when I remove _LR and use normal protocols all works fine. By the way both ESP32 modules are configured as station and as access point. The first device connects as station in normal way to my WLAN and creates an access point in LR only mode, the second device operates as station in LR only mode...
by Reiner1210
Sat Dec 28, 2019 9:42 am
Forum: ESP-IDF
Topic: WiFi LR mode
Replies: 11
Views: 19829

Re: WiFi LR mode

I mean WIFI_PROTOCOL_LR I have tried it and got an AUTH_EXPIRE when trying to connect I (3237) wifi: ap channel adjust o:1,1 n:11,2 I (3237) wifi: new:<11,0>, old:<1,0>, ap:<11,2>, sta:<11,0>, prof:1 I (4747) wifi: state: init -> auth (b0) I (5747) wifi: state: auth -> init (200) I (5757) wifi: new:...
by Reiner1210
Fri Dec 27, 2019 11:08 pm
Forum: ESP-IDF
Topic: WiFi LR mode
Replies: 11
Views: 19829

WiFi LR mode

Hello,

is the LR mode actually available ??
The docu for esp_wifi_set_protocol says: Currently we only support 802.11b or 802.11bg or 802.11bgn mode
https://docs.espressif.com/projects/esp ... _wifi.html
by Reiner1210
Wed Dec 18, 2019 1:37 pm
Forum: ESP-IDF
Topic: cmake and sha.h
Replies: 10
Views: 12086

Re: cmake and sha.h

Hello,

now I have successfully createt the required the cmake file to compile it.
Thanks!

What I have seen the gnu make output (bin file) seems to be a little bit smaller.

Regards
Reiner
by Reiner1210
Tue Dec 17, 2019 2:03 pm
Forum: ESP-IDF
Topic: cmake and sha.h
Replies: 10
Views: 12086

Re: cmake and sha.h

Hello, thanks a lot for your patient! Now I have taken the hello world example renamed the main directory to src and try to include a simple component (no other components required). The glue is that in the CMakeLists.txt the component name is NOT the component it is the folder name. You have given ...
by Reiner1210
Tue Dec 17, 2019 1:50 pm
Forum: ESP-IDF
Topic: LWIP - threadsafe
Replies: 3
Views: 4411

Re: LWIP - threadsafe

Thanks for the answer.
What should be used:
The lwip function or the "normal" function ?
e.g lwip_accept or only accept ?
by Reiner1210
Mon Dec 16, 2019 3:14 pm
Forum: ESP-IDF
Topic: LWIP - threadsafe
Replies: 3
Views: 4411

LWIP - threadsafe

Hello,

If I have a server application I get a socket via accept.
Is it now possible to use 2 thread which use this socket ?
One thread will read from the socket and the other one will write to this socket.

Thanks for your help
Reiner