mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-13 17:05:37 -04:00
Nrf24l01 demodulation (#338)
* NRF demodulation * Update ui_navigation.cpp
This commit is contained in:
parent
3dfbdc844c
commit
d95bda65ce
12 changed files with 719 additions and 0 deletions
|
@ -78,6 +78,7 @@ public:
|
|||
AFSKRxConfigure = 22,
|
||||
StatusRefresh = 23,
|
||||
SamplerateConfig = 24,
|
||||
NRFRxConfigure = 26,
|
||||
|
||||
TXProgress = 30,
|
||||
Retune = 31,
|
||||
|
@ -722,6 +723,27 @@ public:
|
|||
const bool trigger_word;
|
||||
};
|
||||
|
||||
|
||||
class NRFRxConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr NRFRxConfigureMessage(
|
||||
const uint32_t baudrate,
|
||||
const uint32_t word_length,
|
||||
const uint32_t trigger_value,
|
||||
const bool trigger_word
|
||||
) : Message { ID::NRFRxConfigure },
|
||||
baudrate(baudrate),
|
||||
word_length(word_length),
|
||||
trigger_value(trigger_value),
|
||||
trigger_word(trigger_word)
|
||||
{
|
||||
}
|
||||
|
||||
const uint32_t baudrate;
|
||||
const uint32_t word_length;
|
||||
const uint32_t trigger_value;
|
||||
const bool trigger_word;
|
||||
};
|
||||
class PitchRSSIConfigureMessage : public Message {
|
||||
public:
|
||||
constexpr PitchRSSIConfigureMessage(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue