Search found 20 matches

by Zoland
Wed Dec 08, 2021 3:09 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

IN DOCs

1. Which values return ESPNow.write(b) ?

2. Where I can set sync parameter in ESPNow.send(mac, msg[, sync]) if I not want waiting for response?
True: (default) send msg to the peer(s) and wait for a response (or not).
by Zoland
Tue Dec 07, 2021 9:52 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

@zoland: do you have links to your Smesh code? I couldn't find it in your github public repos. I will publish it in the coming days after the technical cleaning of the code Glenn, I have a need to check for the presence of a peer, now I do it through 'try:', but I would just like to make a request ...
by Zoland
Mon Dec 06, 2021 8:11 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

Support for Wifi Signal Strength (RSSI) After some deliberation, I have chosen initially to present this to the user via ESPNow.peers() which returns a reference to a dict of peers and rssi values. The rssi values are updated every time a message is received. This is documented at: Wifi Signal Stre...
by Zoland
Sat Dec 04, 2021 6:16 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

SMesh is a tiny mesh network which I created for my Smart Manor projects . SMesh is implemented on the ESP32 microcontroller, based on the Expressif ESP-Now protocol using the terminology used like in MQTT - The Publisher publishes news, the contents of which the Subscriber can receive over the net...
by Zoland
Wed Nov 10, 2021 5:56 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

glenn20 wrote:
Wed Nov 10, 2021 2:22 pm
@zoland Thanks for the suggestion. I've added the link to the Espressif PDF, fixed the link to the API docs and changed the intro text as below (not online yet). Let me know if you have any thoughts or suggested edits.
Thanks for your job! New DOCs looks cool and informative
by Zoland
Wed Nov 10, 2021 5:10 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

1: In DOCs: espnow — Support for the ESP-NOW protocol¶ This module provides an interface to the ESP-Now protocol provided by Espressif on ESP32 and ESP8266 devices. Some calls are only available on the ESP32 due to code size restrictions on the ESP8266 and differences in the Espressif API. Link to E...
by Zoland
Sat Nov 06, 2021 3:50 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

Does anyone know if there is a time difference between broadcast (multicast) and peer-to-peer sending? Maybe it's easier to send broadcast publications (messages) that the receiving modules just filter the necessary publications as subscriber? For example subscriber send peer-to-peer request to publ...
by Zoland
Sat Nov 06, 2021 12:38 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

This is really interesting - thanks for your work on this. My idea is to avoid knowing the real MAC addresses by replacing them with symbolic names. At startup, using broadcast pinging starts in the searching adding pairs with the specified names and the same time making dictionary with additional ...
by Zoland
Sat Nov 06, 2021 12:16 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

From the documentation: To send() a broadcast message, the broadcast MAC address must first be registered using add_peer(). send() will always return True for broadcasts, regardless of whether any devices receive the message. It is not permitted to encrypt messages sent to the broadcast address or a...
by Zoland
Wed Nov 03, 2021 1:51 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1359895

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

FROM DOC:
ESPNow.peer_count() (ESP32 only)¶
Return the number of peers which have been registered.

REAL RESULT:
2-values tuple

QUESTION:
First element - real number of peers, what is the meaning of the second value?