adafruit / Adafruit_CircuitPython_Wiznet5k

Pure-Python interface for WIZNET 5k Ethernet modules
Other
15 stars 37 forks source link

Refactor wiznet5k #112

Closed BiffoBear closed 1 year ago

BiffoBear commented 1 year ago

Refactored WIZNET5K in preparation for implementing the W6100 chip and adding support for the Adafruit HTTP server (replacing the Wiznet5K WSGI module). No change in functionality, but increased DNS timeout due to my loooooong ping Internet connection and some errors have been changed from returning an int from a function to raising an exception (a step on the way to HTTP server support). Tested with wiznet5k_simpletest.py and wiznet5k_simpleserver.py on W5100s and W5500. Also calls to ifconfig, unpretty_ip(), pretty_ip(), pretty_mac(), chip and link_status

FoamyGuy commented 1 year ago

@BiffoBear can you merge main and resolve the conflicts if possible? I can test this out afterward.

BiffoBear commented 1 year ago

@BiffoBear can you merge main and resolve the conflicts if possible? I can test this out afterward. Will do

BiffoBear commented 1 year ago

@BiffoBear can you merge main and resolve the conflicts if possible? I can test this out afterward.

OK, that's done

BiffoBear commented 1 year ago

Closing this PR because I've finished implementing IPv4 support for w6100 chip elsewhere.