Commit Graph

3 Commits

Author SHA1 Message Date
lenn
47722bb383 add stream raw frame access 2026-05-26 22:22:28 +08:00
lenn
c195234771 feat: integrate StreamRuntime with EskinDevice, add streaming mode demo
- Separate DeviceState (connection lifecycle) and DeviceMode (Command/Streaming)
- Add stream: Option<StreamRuntime> to EskinDeviceInner
- Wire up start_stream/stop_stream with StreamRuntime (worker thread)
- Add StreamingBusy error for command-mode guard
- Fix stream frame total_len calculation (was double-counting status byte)
- Add ensure_command_mode() check on read_register/write_register
- close() now auto-stops stream if active
- Add stream_demo() in main.rs with Enter-to-stop loop
- Add finger_addr config to StreamConfig
2026-05-07 17:27:40 +08:00
Lenn Louis
79f4055959 update 2026-05-04 22:42:00 +08:00