ADS-B frame struct, callsign decode

This commit is contained in:
furrtek 2017-07-18 01:07:46 +01:00
parent 32e8bc4c65
commit 93c5959df6
8 changed files with 193 additions and 111 deletions

View file

@ -21,6 +21,7 @@
*/
#include "ui.hpp"
#include "adsb.hpp"
#include "ui_textentry.hpp"
#include "ui_widget.hpp"
#include "ui_navigation.hpp"
@ -31,6 +32,8 @@
#include "transmitter_model.hpp"
#include "portapack.hpp"
using namespace adsb;
namespace ui {
class ADSBTxView : public View {
@ -55,7 +58,7 @@ private:
std::string callsign = "KLM1023 ";
uint8_t adsb_frame[14]; // 112 bit data block as 14 bytes
adsb_frame frame { };
uint8_t adsb_bin[112]; // 112 bit data block
bool start_tx();