Commit Graph
333 Commits
Author SHA1 Message Date
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 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
QuantumEntangledAndy 9a69de6dcd Restucture of rtsp crate into module 2021-07-31 20:49:51 +07:00
QuantumEntangledAndy 165e07fa8a Make the cargo fmt check all workspaces 2021-07-31 19:49:17 +07:00
QuantumEntangledAndy 13792fe014 Include docs for neolink_rtsp and neolink 2021-07-31 18:57:55 +07:00
QuantumEntangledAndy 4a773886ae Removed unessecary public from the rtsp module 2021-07-31 18:35:17 +07:00
QuantumEntangledAndy ca5a598274 Add documentation to neolink_core 2021-07-31 18:31:52 +07:00
QuantumEntangledAndy fccb54af8f Remove redundent dependencies 2021-07-31 15:38:50 +07:00
QuantumEntangledAndy 0510d35910 Apply clippy changes 2021-07-31 15:18:35 +07:00
QuantumEntangledAndy 5e6f1eabfd Basic setup of subcommands 2021-07-31 12:30:32 +07:00
QuantumEntangledAndy 0afc0d8154 Initial move to workspaces 2021-07-30 20:11:03 +07:00
Andrew King f5fd552f25 And missing comma in dissector 2021-07-29 12:18:41 -05:00
Robin Westerlundh b72d47e26c Add missing variable f_bin_offset 2021-07-26 17:23:44 -05:00
Gleb Sinyavskiy fc6573e91c Add Arch Linux installation instructions
Hello,

Thanks for a great project!
I've been using neolink for a while and decided to publish it to AUR to let other Arch Linux user install neolink using more or less traditional for arch tools.

The PR simply adds a link to the AUR page of the project.
2021-06-17 11:52:57 -05:00
George Hilliard 5a62bb1df1 Merge pull request #83 from QuantumEntangledAndy/protocol_updates
Protocol Updates
2021-04-17 22:34:23 -05:00
QuantumEntangledAndy 9692aa82da Update tests to the new protocol model 2021-04-18 09:10:57 +07:00
QuantumEntangledAndy 05cb032d3c Bump nom version 2021-04-18 08:13:01 +07:00
George Hilliard 6ac4b70ff3 cargo fmt 2021-04-17 16:04:25 -05:00
George Hilliard 949192b620 Use pure Rust AES implementation 2021-04-17 15:53:18 -05:00
QuantumEntangledAndy 4721d364f1 Use context to keep track of binary 2021-04-17 21:30:12 +07:00
QuantumEntangledAndy 0dc25690f4 Removed docs for prototype mqtt 2021-04-17 21:29:56 +07:00
QuantumEntangledAndy ce9f3e7a1b Removed extra init method for context 2021-04-17 21:29:14 +07:00
QuantumEntangledAndy eda598c40f Restore timeout duration 2021-04-17 17:09:05 +07:00
QuantumEntangledAndy f4630f4d07 Treat AES encrypt and decrypt differently 2021-04-17 17:07:40 +07:00
QuantumEntangledAndy 30fad08706 Bug fixes and making serde respect the status code to send 2021-04-17 17:03:29 +07:00
George Hilliard 1227ff1e96 Refactor AesKey to only contain key bytes 2021-04-17 01:49:29 -05:00
QuantumEntangledAndy 02f4cab6ba Added AES encryption 2021-04-17 12:35:55 +07:00
QuantumEntangledAndy f479c8282a Added firmware update to messages.md 2021-04-15 09:23:13 +07:00
QuantumEntangledAndy a2ca630bdd Merge branch 'master' of github.com:thirtythreeforty/neolink into protocol_updates 2021-04-15 08:04:30 +07:00
QuantumEntangledAndy 772ba86156 Bug fix and preperation for new encryption protocol 2021-04-14 17:17:43 +07:00
twistedddx 5c83472fae Update documentation for status code and additional encryption offset data 2021-01-26 18:03:21 -06:00