Gorillas Device¶
Type: BLE wearable (TBD — exact capabilities unknown until device arrives) Status: Pending — arriving Hong Kong ~March 30, 2026 Integration Timeline: 2 days after arrival Device Type ID:
gorillas
Expected Capabilities (to be confirmed)¶
- Heart rate
- SpO2
- Steps / activity
- Sleep tracking
- Temperature (TBD)
- GPS (TBD)
Integration Plan¶
Day 1: Protocol Analysis + Backend¶
- Power on device, scan BLE services and characteristics
- Document GATT service UUIDs and characteristic UUIDs
- Identify data packet format (hex dump → decode)
- Add "gorillas" device type to backend (migration + auto-detection)
- Map Gorillas metrics to health_metrics columns
Day 2: App Integration + Testing¶
- Create
gorillas_ble_service.dartin app-user - Implement scan, connect, subscribe to notifications
- Parse incoming data into CreateHealthMetricPayload
- Add Gorillas device screen with status + metrics cards
- End-to-end test: pair → sync → verify data in backend → display on web
Relevant Tasks¶
- GOR-001: BLE protocol analysis
- GOR-002: Backend device type
- GOR-003: BLE service in app-user
- GOR-004: Data mapping
- GOR-005: Device screen in app-user
- GOR-006: Web dashboard page
- GOR-007: Integration test
Notes¶
- Exact BLE protocol unknown until device arrives
- Budget 2 extra hours for unexpected protocol quirks
- May need firmware documentation from manufacturer
- If device uses proprietary app, may need to reverse-engineer BLE protocol