mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-05 08:15:11 -04:00
ADS-B frame struct, callsign decode
This commit is contained in:
parent
32e8bc4c65
commit
93c5959df6
8 changed files with 193 additions and 111 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue