Open
Conversation
…ch help from porst17, mni tnx
…uf/char - int16_t/sizeof Etc)
…ion. Remaining Bug: unpack USRP_TYPE_TEXT message
…ta,-)messages.. Add some checks for pack/unpack in AsyncMsg.h
… SP2ONG for hints
…ed variabledeclarations removed.
…om Waldek/SP2ONG added, removed unused methods
… renewed. Tcl methods expanded.
…tion how it fits together.
…svxlink.conf template
|
The original USRP protocol code that is used in Allsatrlink and by many other radio applications is in the Allsatrlink code https://github.com/AllStarLink/app_rpt/blob/master/channels/chan_usrp.c https://github.com/AllStarLink/app_rpt/blob/master/channels/chan_usrp.h I have written down all the information about this protocol during my work with svxbride in Python that Adi has placed in the file Maybe analyzing the Allstarlink code can help improve the USRP svxlink |
sm0svx
reviewed
Aug 19, 2025
Owner
There was a problem hiding this comment.
Some tips to make this file "compliant" with the rest of the SvxLink logics:
- Rename this file to UsrpLogicType.tcl
- Change the namespace definition to "namespace eval ${::logic_name}"
- Create a new file that only contain a namespace. Have a look at ReflectorLogic.tcl for example.
- Remove the "check to see if this is the correct logic core" (not needed anymore)
- The "unknown_command" procedure (if used by your module) cannot call Logic::unknown_command since there is no such function in LogicBase.tcl so it must be completely defined like in ReflectorLogicType.tcl.
- The same as above for the "command_failed" procedure
- man page extended - smaller typos changed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Tobias,
would be nice if you could have a closer look to the Usrp extension. This protocol allows the communication to mmdvm and some other projects over udp.
There are some om's that currently test this extension and it looks promising but I have some questions and hope you will find the the time to answer it:
Program received signal SIGSEGV, Segmentation fault.
0x00005555555f84e5 in EventHandler::processEvent(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) ()
(gdb) bt
#0 0x00005555555f84e5 in EventHandler::processEvent(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) ()
#1 0x00005555555dd6aa in Logic::processEvent(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, Module const*) [clone .constprop.0] ()
#2 0x00005555555dd982 in Logic::sendRgrSound() ()
#3 0x00005555555e0b7d in Logic::checkIdle() ()
#4 0x00005555555ee792 in non-virtual thunk to Async::AudioStreamStateDetector::allSamplesFlushed() ()
#5 0x00007ffff7f6fcc0 in Async::AudioMixer::allSamplesFlushed() () from /lib/x86_64-linux-gnu/libasyncaudio.so.1.6
#6 0x00007ffff7f6faf7 in Async::AudioMixer::outputHandler(Async::Timer*) [clone .part.0] () from /lib/x86_64-linux-gnu/libasyncaudio.so.1.6
#7 0x00007ffff7f5e1ed in Async::AudioSink::unregisterSource() () from /lib/x86_64-linux-gnu/libasyncaudio.so.1.6
#8 0x00007ffff7f5e3bb in Async::AudioSink::~AudioSink() () from /lib/x86_64-linux-gnu/libasyncaudio.so.1.6
#9 0x000055555564df94 in LocalTx::~LocalTx() ()
#10 0x000055555564e0fd in LocalTx::~LocalTx() ()
#11 0x00005555555e2336 in Logic::cleanup() ()
#12 0x00005555555e24e0 in Logic::~Logic() ()
#13 0x00005555555f2986 in RepeaterLogic::~RepeaterLogic() ()
#14 0x00005555555d328f in main ()
(gdb)
mni 73s de Adi / DL1HRC