Skip to content

CircuitPython_Wiznet5k_Socket_Visualizer

CircuitPython_Wiznet5k_Socket_Visualizer

WIZnet

Published June 30, 2023

Original author: Edward Wright · CanadaOriginal source (new tab)

CircuitPython_Wiznet5k_Socket_Visualizer

Components

Hardware components Software Apps and online services

Project description

Description

Socket Visualizer is a CircuitPython script that was created to help test the WIZnet5k driver provided by Adafruit. It creates a simple server that listens for TCP connections and displays a table in the serial console containing hardware socket status information ('reservation' state, status and connected client) as connections are made and broken. When clients connect, the server sends a string indicating which hardware socket the client is connected to. While the client is connected, the server sends out 'heartbeat' strings every 2 seconds.

Below is an example of the Socket Visualizer's output:

An example of Socket Visualizer's output

Comments

Comments