root f503054327 feat:bind-6400-host-ACK-profiles 3 месяцев назад
..
examples 738a2e0f7a feat(host): finish algorithm kit and official host verify pipeline 3 месяцев назад
hth_sdk f503054327 feat:bind-6400-host-ACK-profiles 3 месяцев назад
scripts 0c53ba1d9f fix(host): close R3 safety lifecycle, serial cancel, and evidence gates 3 месяцев назад
tests f503054327 feat:bind-6400-host-ACK-profiles 3 месяцев назад
MANIFEST.in 738a2e0f7a feat(host): finish algorithm kit and official host verify pipeline 3 месяцев назад
README.md f503054327 feat:bind-6400-host-ACK-profiles 3 месяцев назад
pyproject.toml eea478245d feat(sdk): expose 6400 CLI capture and Python client 3 месяцев назад
tox.ini 0c53ba1d9f fix(host): close R3 safety lifecycle, serial cancel, and evidence gates 3 месяцев назад

README.md

hth-sdk

Python client for hthd (hth.api.v1 over Unix sockets).

Install (from host/):

python3 -m pip install -e sdk/python

Generate protobuf stubs (required for the real gRPC client, not for MockClient):

python3 tools/gen_python_stubs.py

This package depends only on grpcio and protobuf. It does not depend on NumPy, pandas, or PyTorch.

Current hardware protocol honesty: percent-close doors 0..100 (0 = full open, not STOP), GET_MOTOR_STATUS exists, no ACK, FPGA watchdog 30 s fed only by valid SET_ALL after startup, GET_TEMPERATURE dropped during startup. Fan RPM / encoder / firmware version = NOT_SUPPORTED. Temperature channel mapping = UNKNOWN. Hardware validation: NOT RUN.

6400 thermal facade

hth_sdk.thermal.connect_thermal() accepts only 6400-control, 6400-identification, or 6400-sim-debug; the old production and identification aliases are rejected. The facade validates the canonical profile ID and generated CPLD contract SHA-256 on every command and snapshot response. GET_SNAPSHOT wire sequencing (0x82 ACK followed by 0x42 data) is owned by hthd; the SDK never opens or parses a serial stream.