Search found 52 matches

by OutOfLine
Tue Jul 18, 2023 8:38 am
Forum: General Discussion
Topic: BLE + Deep Sleep?
Replies: 8
Views: 3600

Re: BLE + Deep Sleep?

Thank you for the interesting link. Now I would like to know what exactly happens regarding retransmissions and akknowledge when sending to all know peers, like esp_now_send(NULL, data, len); /* send to all known peers */ Will there be retransmissions? In what sequence (when multiple peers are not r...
by OutOfLine
Mon Jul 17, 2023 2:01 pm
Forum: General Discussion
Topic: BLE + Deep Sleep?
Replies: 8
Views: 3600

Re: BLE + Deep Sleep?

ESP-NOW may be a good option as it is connection-less and acknowledged.
Yes, it may be a good option, but no, it is not acknowledged.
It is not difficult to program an acknowledgement if you want to have that.
by OutOfLine
Thu Oct 20, 2022 1:22 pm
Forum: General Discussion
Topic: how to detect ESP32-s3 at compile time?
Replies: 2
Views: 2384

Re: how to detect ESP32-s3 at compile time?

Thank you
by OutOfLine
Thu Oct 20, 2022 7:57 am
Forum: General Discussion
Topic: how to detect ESP32-s3 at compile time?
Replies: 2
Views: 2384

how to detect ESP32-s3 at compile time?

I try to adapt an application for a "LILYGO T-Display S3" board #if defined ESP32 // ... (code for ESP32 boards here...) #endif How can I detect an ESP32s3 processor? I try to adapt an application for a "LILYGO T-Display S3" board arduino-esp32 version 2.0.5 Arduino 1.8.19 I cannot see the exact boa...
by OutOfLine
Wed Aug 24, 2022 7:11 pm
Forum: ESP32 Arduino
Topic: How to check Arduino version?
Replies: 10
Views: 11530

Re: How to check Arduino version?

EDIT: I posted a message yesterday about ESP_ARDUINO_VERSION_MAJOR not being defined any more in 2.0.4

The massage was wrong, somehow I managed to screw things up...
There is no problem with these version related macros.

Sorry for spreading false news
by OutOfLine
Mon Aug 22, 2022 3:41 pm
Forum: ESP32 Arduino
Topic: ESP-NOW: how to identify devices after boot?
Replies: 8
Views: 5622

Re: ESP-NOW: how to identify devices after boot?

Sorry I don't have example code neither, but I do have code of a project that uses a similar functionality to configure and play an 'orchestra' of esp32 'instruments', so you might find a couple of hints grepping through the code. But be warned: the code is long quite complicated, chaotic, experimen...
by OutOfLine
Mon Aug 22, 2022 2:48 pm
Forum: ESP32 Arduino
Topic: ESP NOW MAC address
Replies: 1
Views: 2811

Re: ESP NOW MAC address

To put the mac in my_mac use

Code: Select all

#include "esp_system.h"
uint_8t my_mac[6];
esp_read_mac(my_mac, ESP_MAC_WIFI_STA);
Hope that helps
by OutOfLine
Thu Jan 27, 2022 7:32 am
Forum: General Discussion
Topic: ESP Now Channel
Replies: 1
Views: 3018

Re: ESP Now Channel

See https://www.esp32.com/viewtopic.php?f=2 ... e54b40e013
The message from 'TheVisionariesInk' answers your question.
by OutOfLine
Wed Jan 26, 2022 10:50 am
Forum: General Discussion
Topic: 1.0.5-rc2 ESPNOW: Peer channel is not equal to the home channel, send fail!
Replies: 6
Views: 20032

Re: 1.0.5-rc2 ESPNOW: Peer channel is not equal to the home channel, send fail!

Yes your post helped me a lot. Using WIFI_SECOND_CHAN_NONE did the trick. I can switch the channel without error messages now. I had tried a long time to switch to channel 4. This channel looks best on a WiFi analysing app. The connection was very slow and there was a lot of data corruption. So I fi...