aprs.me/docs/web/channels.md
Graham McIntire b0832e5a9c
Some checks failed
Build and Push / Build and Push Docker Image (push) Failing after 2s
refactor: harden packet delivery and operations
2026-07-26 13:11:26 -05:00

27 lines
745 B
Markdown

# Mobile WebSocket Channel
## Overview
Real-time packet streaming for iOS/Android mobile applications.
**Socket:** `MobileUserSocket` (`/mobile`, WebSocket only)
**Channel:** `MobileChannel`
## Connection
Mobile clients connect via WebSocket to `/mobile`:
```
ws://host/mobile/websocket?vsn=2.0.0
```
## Protocol
See [mobile-api.md](../mobile-api.md) for the complete message format and protocol specification.
## Architecture
The mobile channel receives real-time packet broadcasts from the same PubSub sources as the web LiveView clients:
- `SpatialPubSub` — bounded or explicitly unbounded delivery
- Per-callsign Phoenix PubSub topics
Packets are formatted into a mobile-optimized JSON structure and pushed to connected clients.