Commit Graph
362 Commits
Author SHA1 Message Date
QuantumEntangledAndy 8f1c3ece9d Use anyhow for application level error 2021-08-19 10:00:12 +07:00
QuantumEntangledAndy 0dd2eb744d Allow missing subcommand line specification 2021-08-18 16:37:43 +07:00
QuantumEntangledAndy cc4e0dadbd Merge branch 'talk' 2021-08-07 16:13:04 +07:00
QuantumEntangledAndy 561f893d2a Rust fmt 2021-08-07 16:05:58 +07:00
QuantumEntangledAndy a83ec69663 Add tests for deserialising adpcm, infov1, iframe and pframe BcMedia 2021-08-07 16:05:32 +07:00
Andrew King 5ca8eae8f4 Unify mic and file input source in talk
Update talk sources to use new input format
Quick fix to input sources
2021-08-07 16:05:32 +07:00
Robin Westerlundh 8b6cc4be7a Allow custom mic inputs 2021-08-06 15:24:27 +02:00
QuantumEntangledAndy 9d0e6516b5 Doc update 2021-08-06 14:03:14 +07:00
QuantumEntangledAndy cbbf3992a4 Add tests for deserialising adpcm, infov1, iframe and pframe BcMedia 2021-08-05 17:45:37 +07:00
QuantumEntangledAndy 340f3f924b Fix adpcm and add a test for swann cameras 2021-08-05 17:45:37 +07:00
QuantumEntangledAndy d738843fd9 Add talk command to neolink
Bug fix to TalkConfig

Bug fix to adpcm serde

Slow talk to sample rate

Update gstreamer-rs

Also remove gio and glib in favor of gstreamer::{glib, gio} to ensure 
always using comapt version

Add TalkAbility protocol and update talk to use it. Also add a `talk_stream` method

Use `talk_stream` and gstreamer to play other types of audio

Add microphone and volume to talk command

Don't decode adpcm

Debug print the error when camera fails to stream

Use correct adpcm block size

Allow retries during read in deserlisation

Use TalkReset messages after talk finishes
2021-08-05 17:45:37 +07:00
QuantumEntangledAndy f4bcde6ffc Actually implement reboot 2021-08-05 17:45:37 +07:00
QuantumEntangledAndy a86565f68b Add talk to neolink_core 2021-08-05 17:45:37 +07:00
QuantumEntangledAndy 373a3478ea Use nom to deserialise BcMedia
Split bc and bcmedia into seperate modules

Add bcmedia serialisation and remove redundent data from the bcmedia model
2021-08-05 17:45:37 +07:00
QuantumEntangledAndy a0dcbbfd51 Added reboot to neolink-core
Added a reboot command to neolink
2021-08-05 17:45:37 +07:00
QuantumEntangledAndy 9d03821c54 Fix adpcm and add a test for swann cameras 2021-08-05 17:14:59 +07:00
QuantumEntangledAndy ce1b410f74 Use TalkReset messages after talk finishes 2021-08-05 07:46:03 +07:00
QuantumEntangledAndy 921be53ef0 Allow retries during read in deserlisation 2021-08-05 07:45:33 +07:00
QuantumEntangledAndy 3a960141b1 Use correct adpcm block size 2021-08-04 20:01:39 +07:00
QuantumEntangledAndy eea7f8505b Debug print the error when camera fails to stream 2021-08-04 17:43:20 +07:00
QuantumEntangledAndy 8acf004ad0 Don't decode adpcm 2021-08-04 17:22:41 +07:00
QuantumEntangledAndy 3404345410 Add microphone and volume to talk command 2021-08-04 16:13:06 +07:00
QuantumEntangledAndy 892bbc1cd1 Use talk_stream and gstreamer to play other types of audio 2021-08-04 15:28:45 +07:00
QuantumEntangledAndy e5bbd631eb Add TalkAbility protocol and update talk to use it. Also add a talk_stream method 2021-08-04 15:28:15 +07:00
QuantumEntangledAndy 4bf399f171 Update gstreamer-rs
Also remove gio and glib in favor of gstreamer::{glib, gio} to ensure 
always using comapt version
2021-08-04 15:27:15 +07:00
QuantumEntangledAndy a2e184d42f Slow talk to sample rate 2021-08-04 10:52:29 +07:00
QuantumEntangledAndy 1440cd62e8 Bug fix to adpcm serde 2021-08-04 10:23:24 +07:00
QuantumEntangledAndy c2365c1e64 Bug fix to TalkConfig 2021-08-04 07:46:36 +07:00
QuantumEntangledAndy 988c782eac Add talk command to neolink 2021-08-03 18:29:29 +07:00
QuantumEntangledAndy 4de0185fc2 Actually implement reboot 2021-08-03 18:29:15 +07:00
QuantumEntangledAndy e3ac3089aa Add talk to neolink_core 2021-08-03 18:28:55 +07:00
QuantumEntangledAndy 692b7429c7 Add bcmedia serialisation and remove redundent data from the bcmedia model 2021-08-03 17:07:08 +07:00
QuantumEntangledAndy 4ecb2a1ae4 Split bc and bcmedia into seperate modules 2021-08-03 15:53:25 +07:00
QuantumEntangledAndy 9ba2a59eda Use nom to deserialise BcMedia 2021-08-03 14:58:26 +07:00
QuantumEntangledAndy bc6c6adccd Added a reboot command to neolink 2021-08-02 15:20:31 +07:00
QuantumEntangledAndy 5d4488ad33 Added reboot to neolink-core 2021-08-02 15:20:20 +07:00
QuantumEntangledAndy 4680ec4c2b Some imporved documentation for the subcommand modules 2021-08-02 13:41:40 +07:00
QuantumEntangledAndy ae908e914b Add links to documentation 2021-08-02 11:10:26 +07:00
QuantumEntangledAndy 8c25de15cf Small adjustment to statusled info stdout 2021-08-02 09:57:18 +07:00
QuantumEntangledAndy babc2fa81a Fix bug in serialisation of extension 2021-08-02 09:56:24 +07:00
QuantumEntangledAndy ffdbdb6777 Gracefully stop polling
Polling would error on a normal disconnect before. This fixes that
2021-08-02 09:56:08 +07:00
QuantumEntangledAndy 4897dc80eb Bug fix in logout sequences 2021-08-02 09:01:42 +07:00
QuantumEntangledAndy ddee51dcd8 Updates to the readme 2021-08-02 07:59:48 +07:00
QuantumEntangledAndy 98c360162e Updates to docker 2021-08-02 07:59:41 +07:00
QuantumEntangledAndy 629004d98f Add neolink command for the status-light 2021-08-02 07:50:26 +07:00
QuantumEntangledAndy e12ac6c7b4 Add LED light controls to core 2021-08-01 13:38:34 +07:00
QuantumEntangledAndy d93534a1c2 Rust fmt 2021-08-01 08:47:27 +07:00
QuantumEntangledAndy 6e325f8b9a Add logout model and use it during disconnect 2021-08-01 08:41:29 +07:00
QuantumEntangledAndy 1c07973c37 Restuructured bc_protocol to increase modulaitry 2021-08-01 07:53:21 +07:00
QuantumEntangledAndy 9efedd660a More clippy suggestions 2021-08-01 07:22:30 +07:00