GNU Radio's GR-AIR-MODES Package
types.h
Go to the documentation of this file.
1/*
2# Copyright 2010 Nick Foster
3#
4# This file is part of gr-air-modes
5#
6# gr-air-modes is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 3, or (at your option)
9# any later version.
10#
11# gr-air-modes is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with gr-air-modes; see the file COPYING. If not, write to
18# the Free Software Foundation, Inc., 51 Franklin Street,
19# Boston, MA 02110-1301, USA.
20#
21*/
22
23#ifndef AIR_MODES_TYPES_H
24#define AIR_MODES_TYPES_H
25
28
30 unsigned char data[14];
31// unsigned char confidence[14]; //112 bits of boolean high/low confidence data for each bit
32 unsigned char lowconfbits[24]; //positions of low confidence bits within the packet
33
34 unsigned long crc;
35 unsigned int numlowconf;
36 framer_packet_type type; //what length packet are we
37 unsigned int message_type;
39 double timestamp;
40};
41
45};
46
47#endif
Definition: types.h:29
unsigned int message_type
Definition: types.h:37
double timestamp
Definition: types.h:39
framer_packet_type type
Definition: types.h:36
float reference_level
Definition: types.h:38
unsigned char lowconfbits[24]
Definition: types.h:32
unsigned int numlowconf
Definition: types.h:35
unsigned long crc
Definition: types.h:34
unsigned char data[14]
Definition: types.h:30
Definition: types.h:42
bool confidence
Definition: types.h:44
bool decision
Definition: types.h:43
bruteResultTypeDef
Definition: types.h:27
@ Multiple_Solutions
Definition: types.h:27
@ No_Error
Definition: types.h:27
@ No_Solution
Definition: types.h:27
@ Too_Many_LCBs
Definition: types.h:27
@ Solution_Found
Definition: types.h:27
framer_packet_type
Definition: types.h:26
@ No_Packet
Definition: types.h:26
@ Long_Packet
Definition: types.h:26
@ Short_Packet
Definition: types.h:26
@ Fruited_Packet
Definition: types.h:26