[riot-notifications] [RIOT-OS/RIOT] cpu/esp*: esp_now and esp_wifi cleanup (#10929)

Gunar Schorcht notifications at github.com
Sun Jul 7 11:51:02 CEST 2019

@MrKevinWeiss I have tested it with ESP32 as border router and ESP8266 as ESP-NOW node. Seems also to work as it should.

I think we have to restructure the discussion a bit:

1. Is it possible to use the ESP-NOW and the WiFi interface at the same time, goal of the PR?
2. Can RPL used with the boarder router?

While problem 1 addresses the main goal of this PR by cleaning up the initialization of the WiFi and the ESP-NOW interface, problem 2 is out of the scope of this PR from my point of view. We should not mix these problems.

**Concerning Problem 1:**

Question 1: Is it possible on the boarder router to ping the ESP-NOW node and any machine in the LAN using the link local address? At least in my tests it is. This test alone is a proof that ESP-NOW and WiFi can be used together.

Question 2: In addition we could test whether it is possible to ping the ESP-NOW node from any machine in the LAN provided that the route for `2001:db8::/64` is set on this machine and points to the link local address of the WiFi interface of the border router. For me, this is again the case regardless of whether or not RPL is enabled on the border router, and regardless of whether or not the `rpl` command gives any results on the ESP NOW node.

This leads me to the conclusion that the PR is correct and working as it should.

**Concerning Problem 2:**

I tried to reproduce the problem. In some cases, the `rpl` command gave results in less than  30 s, in other cases I had to wait up to 30 mins before the `rpl` command gave any results. Unfortunately, I'm not familiar with RPL. I guess it is related to something like advertisements. In my impression, the delay was dependent on the the order in which the nodes are started. If the ESP-NOW node is started before the boarder router, it took less than a minute in most cases before the `rpl` command shows any results.

@miri64 Is it possible that it can take several minutes before `rpl` command gives some results?

However, independent on whether the `rpl` command show any results, I can ping the ESP-NOW node behind the border router from any machine in the LAN.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190707/2b095632/attachment.html>

More information about the notifications mailing list