Library and command line client for the Pockethernet network tester
Project description
This is a python module that implements the bluetooth protocol used by the Pockethernet network tester. It also includes a basic command line client.
$ pockethernet 00:13:43:xx:xx:xx
Straight cable
Pair voltages:
- 0V
- 0V
- 0V
- 0V
PoE A: 0V
PoE B: 0V
No link established
$ pockethernet 00:13:43:xx:xx:xx
Cable inserted into ethernet port
Pair voltages:
- 0V
- 0V
- 0V
- 0V
PoE A: 0V
PoE B: 0V
Got 1000BASE-T full duplex link
Link partner advertises:
HD FD
10 MBIT 1 1
100 MBIT 1 1
1000 MBIT 1 1
The python API so far:
from pockethernet import Pockethernet, WiremapResult, PoEResult, LinkResult
bluething = Pockethernet()
bluething.connect("00:13:43:xx:xx:xx")
wiremap = bluething.get_wiremap()
print(wiremap.connections) # [0, 1, 2, 3, 4, 5, 6, 7, 8]
link = bluething.get_link()
print(link.speed) # 1000BASE-T
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pockethernet-0.2.0.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for pockethernet-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e2b2f98bca0e2a38a9bf464043501c165d9f15ecd73b7c9a24697f96e40f3d4 |
|
MD5 | 4ac237a6c2670606188bfe66c54e29ad |
|
BLAKE2b-256 | 68b4426d9e5e4b776d0f954e486da4953a820251cb9448f592f7138219291bac |