mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 17:19:29 +00:00
ADS-B frame struct, callsign decode
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user