Documentation/Reversing for wifi_functions used in modnetwork.c

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
herrfeder
Posts: 3
Joined: Wed Jun 28, 2017 3:39 pm

Documentation/Reversing for wifi_functions used in modnetwork.c

Post by herrfeder » Tue Jul 04, 2017 2:11 pm

Hey everyone,

working and failing currently on modifying modnetwork.c for my needs, I became curious about many used wifi functions, that will only occur in the ESP82_SDK ( lib/libmain.a, lib/libsmartconfig.a and lib/libat.a ).
Some of the functions are:

wifi_station_scan(NULL, (scan_done_cb_t)esp_scan_cb)
wifi_get_opmode()
wifi_set_opmode(mode)
wifi_station_get_config(&cfg.sta)
wifi_station_set_config(&config)
wifi_station_disconnect()
wifi_station_get_connect_status()
...

They obviously do the low level communication to the wifi chip.
Is there any documentation or reversing review?
I didn't found it before.

Thank you.

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Documentation/Reversing for wifi_functions used in modnetwork.c

Post by pfalcon » Sat Jul 08, 2017 11:41 am

Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

Post Reply