Commit Graph
376 Commits
Author SHA1 Message Date
QuantumEntangledAndy f2a6349203 Adjust how neoliknk handles udp resend 2021-08-31 20:47:34 +07:00
QuantumEntangledAndy dae1fd3761 Update udp doc 2021-08-31 20:47:34 +07:00
QuantumEntangledAndy b8cab8f68d Make dissector add the ports table upon detection for udp too 2021-08-31 20:47:34 +07:00
QuantumEntangledAndy 4b8d16d028 Add luacheck and make dissector compilent 2021-08-31 20:47:34 +07:00
QuantumEntangledAndy ea4de74e8d Readded Bc<->Bc messages to dissector
Also added them to the heurestic check
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy 73204acf52 Added payload to udpack in dissector 2021-08-31 20:47:34 +07:00
QuantumEntangledAndy 33a227420a Udp Layer rewrite
Using a keep alive message

Restructed udp into modules

Using all interfaces broadcast address (ipv4)

Using remote discovery if local fails
2021-08-31 20:47:34 +07:00
QuantumEntangledAndy d432f7862d Update to the udp dissector 2021-08-31 20:47:23 +07:00
QuantumEntangledAndy 884b7c600d Handle camera hang up on udp 2021-08-31 20:47:23 +07:00
QuantumEntangledAndy 7a5def551d Use ports 2015 and 2018 for UDP discovery
Also add remote discovery but it is disabled for now
2021-08-31 20:47:23 +07:00
QuantumEntangledAndy 643953845a Doc update to include battery cameras and doc fixes 2021-08-31 20:46:47 +07:00
QuantumEntangledAndy 8aee6e8e8d Add a better timeout handling to UDP and Media 2021-08-31 20:46:47 +07:00
QuantumEntangledAndy c0e1a817d2 Removed redundant field in udp dissector 2021-08-31 20:46:47 +07:00
QuantumEntangledAndy b70a88451d Added UDP based connection 2021-08-31 20:46:47 +07:00
QuantumEntangledAndy c3f0a8c0c5 Serde UDP packets 2021-08-31 20:45:14 +07:00
QuantumEntangledAndy 996e55a3dd Add UDP dissector
Using udp code from jdillenkofer
2021-08-31 20:45:14 +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