Skip to main content

DIBD LED 전광판 JSON-RPC 2.0 envelope client (UDP / TCP / HTTP)

Project description

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.

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

dibd_led_protocol-1.2.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dibd_led_protocol-1.2.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file dibd_led_protocol-1.2.0.tar.gz.

File metadata

  • Download URL: dibd_led_protocol-1.2.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for dibd_led_protocol-1.2.0.tar.gz
Algorithm Hash digest
SHA256 0cbf1989261f56d880e5a9a5585d990bab8605e080b4aeef9e5492bbd5859c6f
MD5 aaca1f58f29c4c521785959d5cda826d
BLAKE2b-256 a4f099522e7472e2625e2946e010f7edc05a30358816afdbf38d5b3ca618df51

See more details on using hashes here.

File details

Details for the file dibd_led_protocol-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dibd_led_protocol-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a454ba4e913c1e18892a19b3e510c2df27a4d3949044544ac1ff99a570b83f65
MD5 d76900f83ed7bb6943db5898f6356fc3
BLAKE2b-256 880d4652f6cc6772beb05fb67a777dda3dbbc01eadeafa8f3ce393b46f95b2a7

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