BLE Tx App / BLE Rx Filtering. (#1543)

BLE TX app creation
BLE RX and TX app improvements
This commit is contained in:
Netro
2023-11-01 06:46:41 -04:00
committed by GitHub
parent 62307b93d7
commit dceb7255b0
19 changed files with 1402 additions and 34 deletions

View File

@@ -114,6 +114,7 @@ class Message {
POCSAGStats = 57,
FSKRxConfigure = 58,
BlePacket = 58,
BTLETxConfigure = 59,
MAX
};
@@ -755,6 +756,22 @@ class BTLERxConfigureMessage : public Message {
const uint8_t channel_number;
};
class BTLETxConfigureMessage : public Message {
public:
constexpr BTLETxConfigureMessage(
const uint8_t channel_number,
char* macAddress,
char* advertisementData)
: Message{ID::BTLETxConfigure},
channel_number(channel_number),
macAddress(macAddress),
advertisementData(advertisementData) {
}
const uint8_t channel_number;
char* macAddress;
char* advertisementData;
};
class NRFRxConfigureMessage : public Message {
public:
constexpr NRFRxConfigureMessage(

View File

@@ -78,6 +78,7 @@ constexpr image_tag_t image_tag_adsb_rx{'P', 'A', 'D', 'R'};
constexpr image_tag_t image_tag_afsk_rx{'P', 'A', 'F', 'R'};
constexpr image_tag_t image_tag_aprs_rx{'P', 'A', 'P', 'R'};
constexpr image_tag_t image_tag_btle_rx{'P', 'B', 'T', 'R'};
constexpr image_tag_t image_tag_btle_tx{'P', 'B', 'T', 'T'};
constexpr image_tag_t image_tag_nrf_rx{'P', 'N', 'R', 'R'};
constexpr image_tag_t image_tag_ais{'P', 'A', 'I', 'S'};
constexpr image_tag_t image_tag_am_audio{'P', 'A', 'M', 'A'};