SDK for Cheez USB/BLE Devices
Project description
Cheez SDK
Installation
pip install cheez-sdk
Quick Start
from cheez_sdk import CheezSDK
# Initialize the SDK
sdk = CheezSDK()
# List available ports
ports = sdk.list_ports(verbose=True)
# Find specific devices
device_ports = sdk.find_devices("CheezUSB_VCP", "CheezBLE_VCP")
# Connect to a device
if device_ports:
decoder = sdk.connect(device_ports[0])
# Async data reading example
import asyncio
async def read_data():
while True:
data = await decoder.read_data()
if data:
print(f"Received data: {data}")
print(f"Current packet rate: {decoder.get_packet_rate()} packets/sec")
await asyncio.sleep(0.1)
asyncio.run(read_data())
Features
- Easy device port discovery
- Simple serial connection management
- Async data reading
- Configurable logging
- Error handling and validation
Configuration
Customize device VID/PID mappings in the config.json file.
License
[Your License Here]
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
cheez_semg_pico-0.1.0.tar.gz
(4.4 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 cheez_semg_pico-0.1.0.tar.gz.
File metadata
- Download URL: cheez_semg_pico-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08c2ffd4dbcd0b36e16ffa3c371c873151b0e21fd47f984dc6d25b42ff64745a
|
|
| MD5 |
eb323c4ec5386efde43fc58e38c2907b
|
|
| BLAKE2b-256 |
d223b97c8387275651cf10c7795c44ac60a46f58480b9ea3b4d213f84da96af0
|
File details
Details for the file cheez_semg_pico-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cheez_semg_pico-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e68a3f2348c9f2b48b8737375d1a5f6667913dc036f80dcdcbde765e26a08d54
|
|
| MD5 |
25f86db0571960373fb6e4650c0e4aac
|
|
| BLAKE2b-256 |
d7b71d455bc226ecdda769f424c1163a53d4a2a168c901c135ae64af39c8c165
|