mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-06 05:34:50 -04:00
Shameful commit. Fixed HackRF mode not working...
Sync'd with Sharebrained's repo, no more SIMD warnings
This commit is contained in:
commit
1e79be5555
11 changed files with 232 additions and 63 deletions
|
@ -50,6 +50,45 @@ public:
|
|||
std::string title() const override { return "BHT transmit"; };
|
||||
|
||||
private:
|
||||
uint32_t seq_index { 0 };
|
||||
|
||||
struct sequence_t {
|
||||
const std::string code;
|
||||
const uint32_t delay;
|
||||
};
|
||||
/*
|
||||
2017-03-03 07:11:04 0000189000B1002B0000 18:9:0:00 R1=OFF (1)
|
||||
2017-03-03 07:11:23 0000189200B2110B0000 18:9:2:00 R1=ON (4)
|
||||
2017-03-03 07:11:39 0000189200B1110B0000 18:9:2:00 R1=OFF (4)
|
||||
2017-03-03 07:12:31 0001189200B2110B0000 18:9:2:00 R1=ON (4)
|
||||
2017-03-03 07:12:48 0001189200B1110B0000 18:9:2:00 R1=OFF (4)
|
||||
2017-03-03 07:13:04 0000189000B0012B0000 18:9:0:00 R3=OFF (2)
|
||||
2017-03-03 07:13:26 0001189200B1120B0000 18:9:2:00 R3=ON (6)
|
||||
2017-03-03 07:13:43 0001189200B1110B0000 18:9:2:00 R3=OFF (6)
|
||||
2017-03-03 07:14:00 0001181AAAB1000B0000 18:1:A:AA R1=OFF (10)
|
||||
2017-03-03 07:14:17 0001189400B1000B0000 18:9:4:00 R1=OFF (7)
|
||||
2017-03-03 07:14:31 0001189200B1120B0000 18:9:2:00 R3=ON (6)
|
||||
2017-03-03 07:14:48 0001189200B1110B0000 18:9:2:00 R3=OFF (6)
|
||||
2017-03-03 07:15:05 0001181AAAB1000B0000 18:1:A:AA
|
||||
2017-03-03 07:15:22 0001189400B0100B0000 18:9:4:00 R2=OFF (8)
|
||||
*/
|
||||
const sequence_t sequence_lille_matin[14] = {
|
||||
{ "0000189000B1002B0000", 19 }, // 18:9:0:00 R1=OFF (1)
|
||||
{ "0000189200B2110B0000", 16 }, // 18:9:2:00 R1=ON (4)
|
||||
{ "0000189200B1110B0000", 52 }, // 18:9:2:00 R1=OFF (4)
|
||||
{ "0000189200B2110B0000", 17 }, // 18:9:2:00 R1=ON (4)
|
||||
{ "0000189200B1110B0000", 16 }, // 18:9:2:00 R1=OFF (4)
|
||||
{ "0000189000B0012B0000", 22 }, // 18:9:0:00 R3=OFF (2)
|
||||
{ "0000189200B1120B0000", 17 }, // 18:9:2:00 R3=ON (6)
|
||||
{ "0000189200B1110B0000", 17 }, // 18:9:2:00 R3=OFF (6)
|
||||
{ "0000181AAAB1000B0000", 17 }, // 18:1:A:AA R1=OFF (10)
|
||||
{ "0000189400B1000B0000", 17 }, // 18:9:4:00 R1=OFF (7)
|
||||
{ "0000189200B1120B0000", 14 }, // 18:9:2:00 R3=ON (6)
|
||||
{ "0000189200B1110B0000", 17 }, // 18:9:2:00 R3=OFF (6)
|
||||
{ "0000181AAAB1000B0000", 17 }, // 18:1:A:AA
|
||||
{ "0000189400B0100B0000", 17 } // 18:9:4:00 R2=OFF (8)
|
||||
};
|
||||
|
||||
enum tx_modes {
|
||||
IDLE = 0,
|
||||
SINGLE,
|
||||
|
@ -215,6 +254,11 @@ private:
|
|||
' '
|
||||
};
|
||||
|
||||
Button button_seq {
|
||||
{ 210, 210, 30, 30 },
|
||||
"SQ"
|
||||
};
|
||||
|
||||
TransmitterView tx_view {
|
||||
16 * 16,
|
||||
10000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue