Commit Graph

442 Commits

Author SHA1 Message Date
Simon 92177cf41b Revert "ss"
This reverts commit 08aefe99c8.
2021-04-15 16:40:02 +01:00
Simon c0c162054d slkals 2021-04-15 16:38:11 +01:00
Simon 08aefe99c8 ss 2021-04-15 16:35:59 +01:00
Simon e638df6418 ss 2021-04-15 16:35:33 +01:00
Simon 8d6012f032 Revert "a"
This reverts commit 403141732b.
2021-04-15 16:32:25 +01:00
Simon 55b398e594 Revert "flkd"
This reverts commit da1186c3cb.
2021-04-15 16:32:24 +01:00
Simon da1186c3cb flkd 2021-04-15 16:32:02 +01:00
Simon 403141732b a 2021-04-15 16:31:46 +01:00
Simon a8f7ca643d Fix BCKA 2021-04-15 16:12:17 +01:00
Simon 33ce153a4b Missing ] 2021-04-14 22:37:45 +01:00
Simon 1cf2415321 Handle BCSQ when coming from a HBP source also 2021-04-14 22:36:28 +01:00
Simon 8266467564 Fix in fin log 2021-04-14 20:27:48 +01:00
Simon f02b5ff22e Disable PEER and XLXPEER connections for testing 2021-04-14 20:17:38 +01:00
Simon c41b2b9131 Timeout ot streamIDs should match standard DMR radio, repeater and network timeout
180 secs
2021-04-14 11:42:31 +01:00
Simon dec08d6e33 Stream 2021-04-13 16:55:45 +01:00
Simon 2464818f03 test 2 2021-04-13 16:54:20 +01:00
Simon a3d6d660c4 testing 2021-04-13 16:51:12 +01:00
Simon 13ac1a4045 Change timeout of streams to make dash more responsive 2021-04-13 16:46:56 +01:00
Simon eab8c03cce Tidy up BCSQ logging 2021-04-13 12:12:44 +01:00
Simon ed3f266761 typo again 2021-04-13 11:57:30 +01:00
Simon 3267e2bb21 Fix exceptrion - changed while being iterated 2021-04-13 11:25:35 +01:00
Simon 3912e529f9 A 2021-04-13 01:39:20 +01:00
Simon b960427f2a typo - _sysconfig 2021-04-13 00:05:23 +01:00
Simon 88334eaaf5 Adds support for new Bridge Control OPCODE - BCSQ
BCSQ is Source Quench or Squelch

When a stream id is received from more than one source on a TG
the system sends a BCSQ to all of the non-first systems to ask them
to stop sending this stream ID. This reduces network and CPU load. Also
packets can't loop of they arent even received!

Squashed commit of the following:

commit e5ba9ece5d84e56096c459139fb39eba16249f96
Author: Simon <simon@gb7fr.org.uk>
Date:   Mon Apr 12 23:16:30 2021 +0100

    Tidy up log handling for streams

commit fc1e4bd91f0e576e8c58e84cf4b96f00ce6ec933
Author: Simon <simon@gb7fr.org.uk>
Date:   Mon Apr 12 22:56:45 2021 +0100

    Fix target port (BCKA)

commit 27e046e5efe744679c7652f65135cf3129481092
Author: Simon <simon@gb7fr.org.uk>
Date:   Mon Apr 12 22:50:35 2021 +0100

    Handle keyerror

commit 99c660fa813a300940b16e55d840218f1868cadb
Author: Simon <simon@gb7fr.org.uk>
Date:   Mon Apr 12 22:45:05 2021 +0100

    Stream trimmer for BCSQ

commit 9d6102be13813b27b752192e29e94d5eafbbb934
Author: Simon <simon@gb7fr.org.uk>
Date:   Mon Apr 12 21:32:54 2021 +0100

    Brack

commit 2f8a8cf620153cb0138e970c0dcd85328a47521c
Merge: f77a68a 17b6968
Author: Simon <simon@gb7fr.org.uk>
Date:   Sun Apr 11 22:16:38 2021 +0100

    Merge branch 'master' into bcsq

commit f77a68a96297fe050609b8ee5fb56b0866ec78f4
Merge: 7f4c6f5 9a3e5fb
Author: Simon <simon@gb7fr.org.uk>
Date:   Fri Apr 9 01:39:54 2021 +0100

    Merge branch 'master' into bcsq

commit 7f4c6f5375b589aa78e74f0002448afe95a625a2
Author: Simon <simon@gb7fr.org.uk>
Date:   Thu Apr 8 18:35:08 2021 +0100

    c

commit c0904242e0f532c26e33bdd9cba8d1bea5329abc
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue Apr 6 19:05:40 2021 +0100

    only try to quench the source once

commit 2748d0cf7c5557522a5b2d0d9e3b37e294711910
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue Apr 6 18:56:05 2021 +0100

    Comment out check for enahnced to tes

commit fa43a09db73862343f0f70a367786c4d77aaf9b9
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue Apr 6 18:51:19 2021 +0100

    Dst id not tgid

commit f02df6edf10cfa936147b0862671ed949a820785
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue Apr 6 18:48:44 2021 +0100

    More BCSQ

commit adf3bb4059f0710848f8e3349722141836889c41
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue Apr 6 18:44:15 2021 +0100

    more BCKA fixes

commit b4dc518d9b74a0d8c83b3b1bb17d7de4d04b9915
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue Apr 6 18:42:13 2021 +0100

    Fix broken BKCA

commit 637d772dbadb346ad49d5b80d8299c13b0fbfc79
Author: Simon <simon@gb7fr.org.uk>
Date:   Tue Apr 6 18:38:17 2021 +0100

    More work on BCSQ
2021-04-12 23:28:01 +01:00
Simon 17b6968930 Comment extra loop (load inducing?) 2021-04-11 21:18:37 +01:00
Simon 919b7842da Tidy up sockaddr update from keepalives 2021-04-10 01:13:00 +01:00
Simon 1bd776dfd9 missing _ 2021-04-09 02:47:47 +01:00
Simon c671fc9d6d count outside loop on extra 2021-04-09 02:35:38 +01:00
Simon 9a3e5fbde4 RM 2021-04-09 01:17:39 +01:00
Simon 5a62ae640c > 1 2021-04-09 01:13:56 +01:00
Simon 05f761e645 removeextra test 2021-04-09 01:12:47 +01:00
Simon cee96e1b96 Fix typo in _config 2021-04-08 18:35:48 +01:00
Simon 4681bf7b0f Time change on fin also 2021-04-06 17:03:33 +01:00
Simon 15ed274274 Increase stream trimmer to a whole minute! 2021-04-06 16:31:07 +01:00
Simon 94e4d6251c Tidy up BCKA logging 2021-04-04 19:46:42 +01:00
Simon d2d2317a0b Docker changes source port too 2021-04-04 19:44:44 +01:00
Simon 6b2b39f5e1 Log IP and port for bcka debugging 2021-04-04 19:42:25 +01:00
Simon 7303cdcbc8 HE 2021-04-04 19:23:30 +01:00
Simon 62f0cdc97b Merge branch 'bcka' 2021-04-04 18:42:09 +01:00
Simon 53c1958aec Dynamic IP update:
Using BCKA (Extended OBP KeepAlives):

When an authenticated keepalive is received from a different IP but
on the same port, we update the IP for the OpenBridge. This means, we can
handle dynamic IP seamlessly!
2021-04-04 18:39:16 +01:00
Simon dda0470ff2 New option - ENHANCED_OBP
Extends OpenBridge protocol

Added authenticated KeepAlives to protocol.
2021-04-04 18:19:28 +01:00
Simon 4fd9ada6da Comment out BCKA loop as I will carry on with this in BCKA branch 2021-04-04 18:02:34 +01:00
Simon b096d5dfa5 Fix bcka 2021-04-04 17:44:29 +01:00
Simon f7759dcce9 Null stream ID on HBP stream timeout - to stop LoopControl taking
into account old stream id's
2021-04-03 18:52:16 +01:00
Simon 56a0ee4dc6 rstrip() 2021-04-03 17:19:24 +01:00
Simon 03b3f78f5d Decode strings 2021-04-03 17:15:23 +01:00
Simon 19965158ae Anothet T 2021-04-03 17:10:24 +01:00
Simon d0d61e5573 Typo 2021-04-03 17:05:26 +01:00
Simon deaef627c6 Move SW and PKGID to the right place 2021-04-03 17:04:30 +01:00
Simon 90f01a7751 Report package ID in logs 2021-04-03 16:59:44 +01:00