Search found 47 matches

by chibill
Sat Nov 09, 2019 10:11 pm
Forum: ESP32 boards
Topic: upip not working with IDF4 builds
Replies: 10
Views: 6477

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: 6477

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: 7
Views: 5882

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: 7
Views: 5882

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: 6477

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: 6477

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: 6477

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: 6477

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...
by chibill
Mon Nov 04, 2019 4:53 pm
Forum: ESP32 boards
Topic: Accessing promiscuous mode on the ESP32?
Replies: 6
Views: 4517

Re: Accessing promiscuous mode on the ESP32?

Also as for an API to use promiscuous mode I don't see a problem with using a callback like is used in the C code. where your given an object the represents that packet with all the information in it. Sort of like desktop python api's for wifi packet capture.
by chibill
Mon Nov 04, 2019 12:32 am
Forum: ESP32 boards
Topic: Accessing promiscuous mode on the ESP32?
Replies: 6
Views: 4517

Re: Accessing promiscuous mode on the ESP32?

I know inside of modnetwork the methods used for the connect method don’t exist. Was wondering where that was defined. Unless it’s esp_connect. But if it is I don’t know how it ends up being network.connect at least based of the C extension information that says the functions are package_name