29f67dc525
/ crosscheck (push) Successful in 1s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz
17 lines
578 B
Markdown
17 lines
578 B
Markdown
---
|
|
type: guidelines
|
|
---
|
|
# Gateway guidelines
|
|
|
|
## 1. Read-only with respect to acquisition
|
|
- The gateway subscribes. It never opens a CAN socket, TX-capable or otherwise.
|
|
- `obd-poller` is the single writer to the car (OBD-II on the K-line). Nothing here changes that.
|
|
|
|
## 2. Aggregate, do not relay
|
|
- A 500 kbps CAN bus produces far more traffic than a display can use or a USB
|
|
link should carry. Downsample and summarise here.
|
|
- If the gateway is only forwarding a topic unchanged, that client should have
|
|
subscribed to the broker directly instead.
|
|
|
|
## 3. To be added
|