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.7.0.tar.gz
(14.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pockethernet-0.7.0.tar.gz.
File metadata
- Download URL: pockethernet-0.7.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c4cf28d1490e5d3a2aa0ab19a6cd9e7b206433b7619f5a525ec4a1a0f67935c
|
|
| MD5 |
754d7f66be8bc5cee97ad7119bedbead
|
|
| BLAKE2b-256 |
e54021c47efb55413d11b00757e7c18c9bc7bcee194a336b1d7d5d89f2757f41
|
File details
Details for the file pockethernet-0.7.0-py3-none-any.whl.
File metadata
- Download URL: pockethernet-0.7.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2a04634609f2ff4869523b29d8ab3ffc59a1f32bcd4d1d60c0644443dccc87d
|
|
| MD5 |
14f7b48f5fa3f389362cbb82ff39bc88
|
|
| BLAKE2b-256 |
32d5ab3f0d2ee5f45073171e9b0433db33160912b7bf85cc48f25bc4c674ae05
|