Commit Graph

13 Commits

Author SHA1 Message Date
stevie 09d298bde4 Fix compiler warnings (prefix correct_errors/decode_audio with 'do_'.
Pass imbe_decoder to voice_du_handler and have the op25_decoder_ff own the object.

git-svn-id: http://op25.osmocom.org/svn/trunk@170 65a5c917-d112-43f1-993d-58c26a4786be
2009-09-08 00:15:52 +00:00
stevie 5371081cc0 First cut on Golay decoding of HDU. More to follow
git-svn-id: http://op25.osmocom.org/svn/trunk@153 65a5c917-d112-43f1-993d-58c26a4786be
2009-07-07 21:47:54 +00:00
stevie 80565d779b Add data_unit_handler classes. Simplify top-level.
git-svn-id: http://op25.osmocom.org/svn/trunk@149 65a5c917-d112-43f1-993d-58c26a4786be
2009-06-25 20:27:44 +00:00
stevie 64202f54df Kludge decoder to dump voice as text files suitable for later decoding.
git-svn-id: http://op25.osmocom.org/svn/trunk@141 65a5c917-d112-43f1-993d-58c26a4786be
2009-05-05 05:59:19 +00:00
stevie fa75c57851 Add msgq to op25_decoder_ff to permit passing of snapshots to UI.
Change swabbing to use a bit decoding map, make argument types template parameters (so bvec/bit_vector can be interchanged).
Use a bit_queue (deque<bool>) for the frame buffer, pass this to all data_unit constructors.
Add plumbing to send snapshot to the UI.
New voice_data_unit as result of re-factoring LDU1/LDU2.
Re-factor op25_decoder_ff to use the bit_queue for correlation and frame header (and body - but that's ignored just now).


git-svn-id: http://op25.osmocom.org/svn/trunk@135 65a5c917-d112-43f1-993d-58c26a4786be
2009-01-28 04:50:25 +00:00
stevie 0ab01d0e1e Bring TUN/TAP interface up when program begins.
Change interface to data_unit.
 Make LDU1/2 call the IMBE decoder.

git-svn-id: http://op25.osmocom.org/svn/trunk@111 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-15 07:46:10 +00:00
stevie 7650800ade Have data_unit::make_data_unit accept the frame body in a const_bit_vector.
Move BCH decoding back into op25_decoder_ff, it belongs there.
Refactor so different classes do the expected jobs (even though no class actually does anything yet).

git-svn-id: http://op25.osmocom.org/svn/trunk@104 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-02 02:47:56 +00:00
stevie 26e24d1145 Add imbe_decoder interface, drop bch.cc, use bitset<N> to represent NID fields, add bit swabbing, implement BCH decoding using IT++.
git-svn-id: http://op25.osmocom.org/svn/trunk@103 65a5c917-d112-43f1-993d-58c26a4786be
2008-12-01 04:24:15 +00:00
stevie 8ffe3f8129 Change names of concrete data_unit classes to same form.
Add imbe_decoder interface which.
Add new error-correction and decoding functions to abstract_data_unit.

git-svn-id: http://op25.osmocom.org/svn/trunk@99 65a5c917-d112-43f1-993d-58c26a4786be
2008-11-09 22:41:29 +00:00
stevie 6320608644 Consume and produce (silence) or else it gets unhappy.
git-svn-id: http://op25.osmocom.org/svn/trunk@98 65a5c917-d112-43f1-993d-58c26a4786be
2008-11-07 10:14:00 +00:00
stevie d6c3403daf Add new decode method.
git-svn-id: http://op25.osmocom.org/svn/trunk@96 65a5c917-d112-43f1-993d-58c26a4786be
2008-11-02 11:34:28 +00:00
stevie 729913bfae Fix compile errors caused by gcc upgrade.
git-svn-id: http://op25.osmocom.org/svn/trunk@94 65a5c917-d112-43f1-993d-58c26a4786be
2008-10-29 11:41:41 +00:00
stevie 4822bf70d6 Quick! Save it before I delete it again.
git-svn-id: http://op25.osmocom.org/svn/trunk@70 65a5c917-d112-43f1-993d-58c26a4786be
2008-05-31 22:26:53 +00:00