gr_framer_sink_1 Class Reference
[Signal Sinks]
#include <gr_framer_sink_1.h>
Inheritance diagram for gr_framer_sink_1:
[legend]Collaboration diagram for gr_framer_sink_1:
[legend]List of all members.
Detailed Description
Given a stream of bits and access_code flags, assemble packets.
input: stream of bytes from gr_correlate_access_code_bb output: none. Pushes assembled packet into target queue
The framer expects a fixed length header of 2 16-bit shorts containing the payload length, followed by the payload. If the 2 16-bit shorts are not identical, this packet is ignored. Better algs are welcome.
The input data consists of bytes that have two bits used. Bit 0, the LSB, contains the data bit. Bit 1 if set, indicates that the corresponding bit is the the first bit of the packet. That is, this bit is the first one after the access code.
Constructor & Destructor Documentation
Member Function Documentation
void gr_framer_sink_1::enter_have_header |
( |
int |
payload_len |
) |
[inline, protected] |
|
void gr_framer_sink_1::enter_have_sync |
( |
|
) |
[inline, protected] |
|
void gr_framer_sink_1::enter_search |
( |
|
) |
[inline, protected] |
|
bool gr_framer_sink_1::header_ok |
( |
|
) |
[inline, protected] |
|
int gr_framer_sink_1::header_payload_len |
( |
|
) |
[inline, protected] |
|
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
Generated on Sat Jul 8 17:12:43 2006 for GNU Radio 2.x by
1.4.1