Search found 19 matches

by chibill
Tue Nov 12, 2019 6:52 pm
Forum: ESP32 boards
Topic: Accessing promiscuous mode on the ESP32?
Replies: 5
Views: 439

Re: Accessing promiscuous mode on the ESP32?

I might try and implement some sort of basic implementation of this. Need to wrap my head around how functions are passed around in the C++/C code.
by chibill
Mon Nov 11, 2019 12:46 am
Forum: ESP32 boards
Topic: upip not working with IDF4 builds
Replies: 10
Views: 514

Re: upip not working with IDF4 builds

I know it never showed up on the IDF3 version. Might be something that changed to enable the warnings on the IDF side of things.
by chibill
Sat Nov 09, 2019 10:11 pm
Forum: ESP32 boards
Topic: upip not working with IDF4 builds
Replies: 10
Views: 514

Re: upip not working with IDF4 builds

Seems to work although it does output >>> upip.install("micropython-urequests") Installing to: /lib/ Warning: micropython.org SSL certificate is not validated Installing micropython-urequests 0.6 from https://micropython.org/pi/urequests/urequests-0.6.tar.gz I don't remember the warning on the IDF3 ...
by chibill
Fri Nov 08, 2019 12:18 am
Forum: ESP32 boards
Topic: upip not working with IDF4 builds
Replies: 10
Views: 514

Re: upip not working with IDF4 builds

Seems adding that patch to my local build doesn't fix the upip error. Is there a way to compile it to get extra debug info?
by chibill
Thu Nov 07, 2019 8:35 pm
Forum: ESP32 boards
Topic: Support for WPA2 EAP networks.
Replies: 1
Views: 80

Re: Support for WPA2 EAP networks.

//Set up EAP STATIC mp_obj_t esp_seteap(mp_obj_t self_in,mp_obj_t username,mp_obj_t password){ size_t Ilen; size_t Plen; const char *EAP_IDENTITY = mp_obj_str_get_data(username,&Ilen); const char *EAP_PASSWORD = mp_obj_str_get_data(password,&Plen); ESP_EXCEPTIONS(esp_wifi_sta_wpa2_ent_set_identity(...
by chibill
Thu Nov 07, 2019 8:22 pm
Forum: ESP32 boards
Topic: Support for WPA2 EAP networks.
Replies: 1
Views: 80

Support for WPA2 EAP networks.

I wanted to connect to a WPA2 EAP network (Eduroam) and found that micropython could not Because I was able to from C I knew I could write a new function into the network library to set up WPA EAP. Right now my function is definitely a very dirty hack as I don't bother checking the types of the mp_o...
by chibill
Thu Nov 07, 2019 6:47 pm
Forum: ESP32 boards
Topic: upip not working with IDF4 builds
Replies: 10
Views: 514

Re: upip not working with IDF4 builds

I am also going to try your edit locally by building micropython. As that is how I found this bug originally and at first thought I had did something wrong while building it. Then found it to also affect the pre-built firmware.
by chibill
Thu Nov 07, 2019 3:24 pm
Forum: ESP32 boards
Topic: upip not working with IDF4 builds
Replies: 10
Views: 514

Re: upip not working with IDF4 builds

Interesting. I wonder why in IDF4 they decided to change how memory was segmented. Surprised this wasn't listed in the logs on Espressif's for the IDF4 vs IDF3 changes. (I looked once you mentioned something in IDF was likely causing it.
by chibill
Thu Nov 07, 2019 4:00 am
Forum: ESP32 boards
Topic: upip not working with IDF4 builds
Replies: 10
Views: 514

Re: upip not working with IDF4 builds

More details on the IDF4 build running

Code: Select all

print(gc.mem_free())
before upip.install gives 103408 then after upip fails it returns 100480.

I am not going to bother running it on the IDF3 build as it works fine.

Running gc.collect() as suggested on IRC doesn't seem to help at all either.
by chibill
Wed Nov 06, 2019 6:22 pm
Forum: ESP32 boards
Topic: upip not working with IDF4 builds
Replies: 10
Views: 514

upip not working with IDF4 builds

I am using builds esp32-idf3-20191106-v1.11-563-g4be316fb0 and esp32-idf4-20191106-v1.11-563-g4be316fb0 for this. On both builds I first connect to my wifi then try to use upip. I was trying to upip install urequests using upip.install("micropython-urequests") On the IDF3 based builds the install wo...