dibd-led-protocol — DIBD LED 전광판 공개 표준 프로토콜
JSON-RPC 2.0 envelope 정합 + Python SDK + OpenRPC 1.3.2 spec + conformance test 본질 정합.
본 repo 영역
| 영역 | 위치 |
|---|---|
| Python SDK 본문 | dibd/ (96 method auto-gen, jsonrpc 2.0 envelope, stdlib 한정) |
| OpenRPC spec | openrpc.json (96 method spec, 표준 1.3.2) |
| 변환 도구 | ../schema_to_openrpc.py (protocol_schema.json → openrpc.json) |
| SDK 생성 wrapper | generate_sdk.py (openrpc.json → dibd/methods.py) |
| 빌드 설정 | pyproject.toml (setuptools 본문, Python ≥3.10, Apache-2.0) |
| LICENSE | Apache 2.0 |
5분 시작
로컬 설치 (PyPI 부재 영역):
cd Controller/tools/python_sdk/
pip install -e .
사용:
from dibd import DibdClient
c = DibdClient("192.168.1.211") # UDP default port 50000
size = c.invoke("display.size.read")
c.invoke("display.brightness.write", {"level": 50})
c.close()
상세 본 본문 = dibd/README.md.
옛 ASCII frame 호환
raw_ascii() path 옛 ASCII frame 본문 직접 송신. 옛 다빛채 호환 영역 그대로.
SDK 재생성 흐름
protocol_schema.json 갱신 후:
# Step 1: openrpc.json 갱신
python Controller/tools/schema_to_openrpc.py \
--schema docs/20_기술_사양/21_DIBD_프로토콜/protocol_schema.json \
--out Controller/tools/python_sdk/
# Step 2: methods.py 자동 생성
python Controller/tools/python_sdk/generate_sdk.py
methods.py 본문 직접 편집 금지 — 본 흐름 본문 재호출 의무.
외부 vendor 본 path
본 SDK 본 본문 외부 vendor 본 path 본 path는 별 트랙 0515x-vendor-integration 본 본문 적재 예정. 현 trunk 본 본 path 본 본 본 본문 path 한정.
GitHub repo dibd-led-protocol 공개 본 path는 사용자 GitHub 계정 직접 영역 (gh CLI 또는 web UI).
SSOT
- 펌웨어 본문:
Controller/shared/app/protocol/envelope_v3_lookup.c(95 method entry) - 프로토콜 spec:
docs/20_기술_사양/21_DIBD_프로토콜/protocol_schema.json(95+ method, 1.2.0) - 마감 결정:
docs/00_AI_가이드/Decisions/0514f_protocol_8_areas_standardization.plan.md - conformance test:
tests/conformance/run_conformance.py(33/33 PASS)
라이선스
Apache License 2.0. © 2026 DabitSol Co., Ltd.
Metadata
Release files for dibd-led-protocol 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dibd_led_protocol-1.2.0.tar.gz | 16.8 kB | Without provenance | Details for dibd_led_protocol-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dibd_led_protocol-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for dibd_led_protocol-1.2.0-py3-none-any.whl |
Total release size: 30.8 kB
Release files / dibd_led_protocol-1.2.0.tar.gz
| Download URL | dibd_led_protocol-1.2.0.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0cbf1989261f56d880e5a9a5585d990bab8605e080b4aeef9e5492bbd5859c6f
|
|
BLAKE2b-256 checksum How to use checksums |
a4f099522e7472e2625e2946e010f7edc05a30358816afdbf38d5b3ca618df51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / dibd_led_protocol-1.2.0-py3-none-any.whl
| Download URL | dibd_led_protocol-1.2.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a454ba4e913c1e18892a19b3e510c2df27a4d3949044544ac1ff99a570b83f65
|
|
BLAKE2b-256 checksum How to use checksums |
880d4652f6cc6772beb05fb67a777dda3dbbc01eadeafa8f3ce393b46f95b2a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for dibd-led-protocol 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.