Search found 28 matches

by mekanixms
Fri Jul 29, 2022 6:51 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

Right Dave, is the other way around AP is 1 and STA is 0, I mixed the values
by mekanixms
Fri Jul 29, 2022 6:36 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

Hi Dave, You do not have to be connected with the Station interface, unless you use it for something else. If you are connected, this may be the reason why the channel is changed. By default espnow is using AP interface (ifidx = 0) and this can be set with add_peer so, if you wat to use STA interfac...
by mekanixms
Wed Jul 27, 2022 11:23 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

glenn20 wrote:
Wed Jul 27, 2022 9:56 am
It might be a bug. On my devices, I can see the entries in peers_table without setting AP active. BUT, it is only populated for INCOMING messages from the peer (because that is where we get the RSSI values from).
Thanks Glen
by mekanixms
Tue Jul 26, 2022 5:57 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

OK, after reading about on_recv() I wonder if your issue is the amount of data you are trying to send through ... before processing it. For recv(), irecv() and the e0 singleton example you only have rxbuf size 516 bytes. Have you tried increasing that? Haven't looked into that but I doubt my script...
by mekanixms
Tue Jul 26, 2022 5:53 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

For espnow to work with the build above you need both interfaces up, acc to my tests
by mekanixms
Mon Jul 25, 2022 8:49 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

My tests are performed on ESP32 only and I can confirm a webserver works together with espnow if on_recv is used
by mekanixms
Mon Jul 25, 2022 10:50 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

In my prev post I tested with STA active, AP if disabled; same issues with AP enabled and STA active After further testing, I see that the espnowObject.peers_table is only populated, with the new macs from add_peer, when both AP and STA interfaces are active (STA if can be disconnected but should be...
by mekanixms
Mon Jul 25, 2022 8:09 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

Hi! On the commit 44f65965b (espnow-g20-v1.19.1) for whatever reason I notice that espnow.peers_table is empty >>> e.espnow.peers_table {} but e.espnow.get_peers() returns the expected value >>> e.espnow.get_peers() ((b'\x94\xb9~\xe3\xb5\xc4', b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x...
by mekanixms
Mon Jul 11, 2022 7:12 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

glenn20 wrote:
Sat Jul 09, 2022 6:39 am
New ESPNow images uploaded: v1.19.1-espnow-6-g44f65965b
I've uploaded a new set of images with a fixup for the broken callback support in my latest images.
Works great, just tested!

Will come back if I notice anything to report
by mekanixms
Sun Jul 10, 2022 7:55 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1506857

Re: ESP-Now support for ESP32 (and ESP8266)

Good stuff, I will test tomorrow!! :D