Search found 2 matches

by ncotti
Fri Feb 11, 2022 12:41 pm
Forum: General Discussion and Questions
Topic: Properly checking for errors during a WiFi connection?
Replies: 13
Views: 33607

Re: Properly checking for errors during a WiFi connection?

This post is rather old, but i found the error definitions. As you can see in the micropython "modnetwork.h" https://github.com/micropython/micropython/blob/master/ports/esp32/modnetwork.h file, // Error cases are referenced from wifi_err_reason_t in ESP-IDF . So, that definition is made in this fol...
by ncotti
Thu Dec 23, 2021 8:05 pm
Forum: General Discussion and Questions
Topic: Github token authentication with OTA
Replies: 1
Views: 11300

Github token authentication with OTA

HI! After doing some testing, I'm facing a strange behaviour with Github authentication system through OTA. I'm basically doing this request to the Github API: get('https://api.github.com/repos/path', headers={'Authorization': 'token my_token'} ) And written like this, it successfully authorizes the...