Search found 24 matches

by chibill
Sun Mar 01, 2020 8:36 pm
Forum: General Discussion and Questions
Topic: Using Native Modules to extend ports fucntionality?
Replies: 9
Views: 541

Re: Using Native Modules to extend ports fucntionality?

Well I built myself a custom firmware to add my WPA2-Enterprise support in again. Also seems strange. I couldn’t build it for IDF3.3 when I know the functionality in the IDF existed since 2017. Have to build with IDF4. Either way I am going to try and use the native module stuff to allow usage of Po...
by chibill
Fri Feb 28, 2020 9:39 pm
Forum: General Discussion and Questions
Topic: Using Native Modules to extend ports fucntionality?
Replies: 9
Views: 541

Re: Using Native Modules to extend ports fucntionality?

Okay. So basically the idea of extending the functionality of ports is not possible unless you want to use up more ram and memory. And that is only if you can force the build tool for native modules to actually find the headers in the first place. I guess my goal of trying to support WPA2-Enterprise...
by chibill
Fri Feb 28, 2020 3:01 pm
Forum: General Discussion and Questions
Topic: Using Native Modules to extend ports fucntionality?
Replies: 9
Views: 541

Re: Using Native Modules to extend ports fucntionality?

Specifically I am trying to implement new functionality on my ESP32 to add my EAP WiFi setup function with out having to build custom firmware. But another example would be adding support for the second or third serial port to be used. I have observed that if I add the header file the make script ca...
by chibill
Fri Feb 28, 2020 5:05 am
Forum: General Discussion and Questions
Topic: Using Native Modules to extend ports fucntionality?
Replies: 9
Views: 541

Using Native Modules to extend ports fucntionality?

Is it possible to use the Native Modules to extend the functionality of ports? By extend the functionality I mean is it possible to use them to implement things that are not implemented directly in the port? Or is this not possible due to the Linking Limitations mentioned in the documentation for th...
by chibill
Wed Feb 26, 2020 9:55 pm
Forum: ESP32 boards
Topic: Support for WPA2 EAP networks.
Replies: 2
Views: 403

Re: Support for WPA2 EAP networks.

Want to bring attention back up to this. As adding PEAP support would help micropython be used in some academic environments more easily.

Also I would submit a PR but I don't know how to add the proper checks around the inputs yet.
by chibill
Tue Nov 12, 2019 6:52 pm
Forum: ESP32 boards
Topic: Accessing promiscuous mode on the ESP32?
Replies: 5
Views: 944

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

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

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

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: 2
Views: 403

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(...