Skip to main content

Soundweb London Direct Inject protocol helpers for BSS BLU devices.

Project description

bss-direct-inject

Helpers for the Soundweb London Direct Inject (DI) protocol, focused on BLU devices like the BLU-100.

Quick start

import asyncio

from bss_direct_inject import AsyncDirectInjectClient, DiTarget

target = DiTarget(
    node=0x0000,
    virtual_device=0x03,
    object_id=0x000100,
    state_variable=0x0000,
)

async def main() -> None:
    async with AsyncDirectInjectClient("192.168.1.50") as client:
        await client.set_sv(target, data=0)


asyncio.run(main())

Synchronous usage is also available via DirectInjectClient.

Protocol notes

  • TCP DI messaging uses port 1023 on Soundweb London devices.
  • Message framing is STX + body + checksum + ETX, with escaping for special bytes.
  • Checksums are XOR of the body bytes before escaping.
  • node is the 16-bit HiQnet node address. Use 0 when directly connected to the target device.
  • virtual_device is typically 0x03 for audio processing objects.
  • object_id is a 24-bit object address (from the full HiQnet address in London Architect).
  • state_variable is a 16-bit SV identifier.
  • Percent-based SV values use fixed-point scaling: percent * 65536.

Development

Use just for common tasks (via uv run):

just fmt
just lint
just typecheck

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

bss_direct_inject-0.1.3a15.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.

bss_direct_inject-0.1.3a15-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file bss_direct_inject-0.1.3a15.tar.gz.

File metadata

  • Download URL: bss_direct_inject-0.1.3a15.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bss_direct_inject-0.1.3a15.tar.gz
Algorithm Hash digest
SHA256 78f854f911fe8a43db8b33f6e35c015177d89f11abaafda2005fd075328b2981
MD5 5a1a6189beb5e423b63d1302af1eedae
BLAKE2b-256 4af7f28c345a1aa461755ac6888130999babfd72907d2bd4e2d8784a8c2a04cc

See more details on using hashes here.

File details

Details for the file bss_direct_inject-0.1.3a15-py3-none-any.whl.

File metadata

  • Download URL: bss_direct_inject-0.1.3a15-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bss_direct_inject-0.1.3a15-py3-none-any.whl
Algorithm Hash digest
SHA256 dda3300dfd48b56c2232e09f676613180b58fe9d564b2015ef9feb26c0816f64
MD5 84c71f0386eb233343f167906307259f
BLAKE2b-256 cfd7efe7d6419f7dd3fa19691bf26917296d41fbcfc858407bd9c6d2970a9ee4

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