Search found 139 matches

by davef
Wed Dec 23, 2020 4:26 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

Update: - your scripts seem to run better so ignore previous code-related comments. However, I am stuck with this error: MicroPython v1.13-109-g40d183c6f on 2020-12-16; ESP32 module with ESP32 Type "help()" for more information. >>> import sender Send buffer: alloc=149 size=141 head= 0, tail= 0, use...
by davef
Wed Dec 23, 2020 3:00 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

Regarding documentation I found this:
https://github.com/glenn20/micropython/ ... espnow.rst
which explains everything. Appears I was looking at the commit changes :(

And thank you for the examples.
by davef
Tue Dec 22, 2020 10:46 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

And for a ESP-01S: dave@dave-AOD255E:~$ sudo esptool.py --chip esp8266 --port /dev/ttyUSB0 --baud 115200 write_flash --flash_size=detect 0 micropython-1.13-espnow-g20-8266.bin I need to re-boot the board after loading, which I am sure I haven't had to do before. No problem, however using rshell I ca...
by davef
Tue Dec 22, 2020 8:56 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

Loaded your latest image on the ESP32 and put your scripts in that you responded with to John. I get an WiFi mode error on: w.config(mac=b'\xaa\xaa\xaa\xaa\xaa\xaa') which I removed by saying: w.active(True) first. However, I sometimes get "Guru Meditation Error" and then it won't get past: Testing ...
by davef
Tue Dec 22, 2020 6:34 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

Xubuntu said I needed to install sphinxsearch, but sphinx_build is nowhere to be found.

I'll do more reading later. For now I'll just edit the file.

Thanks,
Dave
by davef
Tue Dec 22, 2020 5:42 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

I am generating a brief description of the available methods from https://github.com/glenn20/micropython/ ... ee466e7e75

Is there an automated way of getting the methods available rather than manually editing that file?

Thanks,
Dave
by davef
Fri Dec 18, 2020 9:26 pm
Forum: Programs, Libraries and Tools
Topic: uMail - A lightweight SMTP client for MicroPython
Replies: 32
Views: 10743

Re: uMail - A lightweight SMTP client for MicroPython

Hi ScotsDon, I was doing the same thing on an ESP32, but I gave-up on that implementation. As my ESP32 was about 1 metre away from the hotspot and a RaspberryPi running a similar system never failed I concluded that there was something "hanging" in the ESP32. I tried a software WDT and that didn't s...
by davef
Wed Dec 16, 2020 8:45 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

Is the esp8266 image generic_1M? The image with <make board=GENERIC_1M> that I was able to build is 623524 and yours at 593348.
by davef
Wed Dec 16, 2020 7:00 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

Thanks for the heads-up and for the pre-compiled image. I have a link using UDP on two ESP-01S that I might change to ESP-NOW to test.

I hope that I can change one end of the link to normal WiFi mode to send alarms and datalogs to a 3G hotspot. I do not need simultaneous operation.
by davef
Wed Dec 16, 2020 6:19 am
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 56
Views: 3641

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

Hi Glenn, Thanks for your work on this implementation. As soon as some ESP-07S arrive I will try out firmware-combined.bin I hadn't seen that link. Would it not require quite a few changes for a different compiler? I followed some instructions that I found for building esp-open-sdk on this site, mai...