Skip to main content

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


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.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cheez_semg_pico-0.1.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file cheez_semg_pico-0.1.1.tar.gz.

File metadata

  • Download URL: cheez_semg_pico-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for cheez_semg_pico-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ff08ab5f57f2016274a989b3400d52a5e70184520eee2ac3f1d9e65548262408
MD5 498ad66909d2d5805f9e19ed5da65bc0
BLAKE2b-256 c7d29d4cada11ccf0090256cef813ed3099ebf2f0cad33d036c14a214d4546bb

See more details on using hashes here.

File details

Details for the file cheez_semg_pico-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cheez_semg_pico-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eca2ec153de471cefe9a0407f939e5c7ebc01de97151b5fc8cbda6d1109229fa
MD5 c6cc0b925ad7a580e087de2884212288
BLAKE2b-256 9d447882ce44f4372bf5df14dc41b5801586f1266bcdb7e159cf8c0829e18877

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page