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.0.tar.gz (4.4 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.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

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

Hashes for cheez_semg_pico-0.1.0.tar.gz
Algorithm Hash digest
SHA256 08c2ffd4dbcd0b36e16ffa3c371c873151b0e21fd47f984dc6d25b42ff64745a
MD5 eb323c4ec5386efde43fc58e38c2907b
BLAKE2b-256 d223b97c8387275651cf10c7795c44ac60a46f58480b9ea3b4d213f84da96af0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cheez_semg_pico-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e68a3f2348c9f2b48b8737375d1a5f6667913dc036f80dcdcbde765e26a08d54
MD5 25f86db0571960373fb6e4650c0e4aac
BLAKE2b-256 d7b71d455bc226ecdda769f424c1163a53d4a2a168c901c135ae64af39c8c165

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