Metadata-Version: 2.4
Name: bc_trb_sdk
Version: 0.3.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# BC TRB SDK

Python 3.10+ bindings for BrainSync TriggerHub USB devices.

```bash
python -m pip install bc-trb-sdk==0.3.0
```

Version 0.3.0 adds `device.sync()` for optional GPIO records and USB SOF time
reports, persistent subscriptions, and `parse_sync_packet()` for offline decoding.
Subscribe before enabling reports. Configuration and receive operations have
bounded waits; close the subscription and device when finished.

Firmware must implement commands `0x3B/0x3C` and `0x40–0x42` for the new APIs.
Older firmware remains usable through the existing trigger and ADC interfaces.
Device timestamps are preserved; this package does not fit clocks across devices
or automatically align 32-channel Wi-Fi/BLE EEG samples.

See the [SOF/GPIO integration guide](https://github.com/BrainCoTech/bc-trb-sdk/blob/dev/sdk/docs/SOF_SYNC.md)
and [Python examples](https://github.com/BrainCoTech/bc-trb-sdk/tree/dev/sdk/examples/python).

Wheels cover Linux x86_64/aarch64, Windows x86_64, and macOS ARM64. See each
wheel's platform tag for its minimum operating-system requirement.

