Skip to main content

Soundweb London Direct Inject protocol helpers for BSS BLU devices.

Reason this release was yanked:

does not actually work

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.0a10.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.0a10-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file bss_direct_inject-0.1.0a10.tar.gz.

File metadata

  • Download URL: bss_direct_inject-0.1.0a10.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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.0a10.tar.gz
Algorithm Hash digest
SHA256 88867d545109003d3ffdf6e40ada91b9e6bea143e9a32f86686b15cd3d5eb2ef
MD5 28cd7a905383ee4c3ad3d86ee22de14c
BLAKE2b-256 0469d5f3a28da7b1bdbdc0d09a3e8776162870ea8383db85b917a9d3f00c544c

See more details on using hashes here.

File details

Details for the file bss_direct_inject-0.1.0a10-py3-none-any.whl.

File metadata

  • Download URL: bss_direct_inject-0.1.0a10-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","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.0a10-py3-none-any.whl
Algorithm Hash digest
SHA256 9e02e9b53048c7340d2297fdef8765e814e4cf9f2f350a0853cfee20bf50b282
MD5 83488adf9edd429b7ac481469e7dad16
BLAKE2b-256 a4135536a413547b617d02ab9311d65371baa572147a085a4f1ed95b5725376d

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