[op25-dev] ldu1 and ldu2 with ECC for LCW [5 Attachments]
md123 at nycap.rr.com
Thu Dec 12 00:43:18 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Alright so here is the files and the traffic pane to display and log
the data. Currently as far as I can tell it is working well. The
only thing I could not do is figure out how to use the typedef
bit_vector so instead I use an array declared private to hold the
error corrected LCW.
On 12/11/2013 06:26 PM, Steve Glass wrote:
> The code snippets help but you need to let us see all of it. Post
> the ldu1.cc and ldu1.h files.
> There is nothing wrong with std::vector<bool> - it is a basic STL
> class and works reliably when used correctly. I think you've got a
> lifecycle problem and are accessing an object reference after the
> referenced object has been destructed. There are simple tests you
> can do to verify that in the debugger but, for now, post all the
> code in case we can see something obvious.
> The way these classes work is that each represents a frame. We do
> error correction for the whole frame at one time and then extract
> just the data bits we need in the accessors. So storing the
> "decoded LCF" is not how we go about it. Instead, decode and apply
> the error correction to the frame content and then let the accessor
> get just the codeword bits.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
Comment: MacGPG2 - http://www.gpgtools.org/macgpg2.html
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the op25-dev