mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-19 19:42:24 -05:00
BLE RX Lag Improvements (#2770)
* Better handling on filtering to improve lag.
This commit is contained in:
parent
fe826d5d98
commit
70ace4be8f
2 changed files with 51 additions and 75 deletions
|
|
@ -99,6 +99,7 @@ struct BleRecentEntry {
|
|||
ADV_PDU_TYPE pduType;
|
||||
uint8_t channelNumber;
|
||||
MAC_VENDOR_STATUS vendor_status;
|
||||
std::string vendor_name;
|
||||
bool entryFound;
|
||||
|
||||
BleRecentEntry()
|
||||
|
|
@ -119,6 +120,7 @@ struct BleRecentEntry {
|
|||
pduType{},
|
||||
channelNumber{},
|
||||
vendor_status{MAC_VENDOR_UNKNOWN},
|
||||
vendor_name{},
|
||||
entryFound{} {
|
||||
}
|
||||
|
||||
|
|
@ -225,7 +227,7 @@ class BLERxView : public View {
|
|||
void file_error();
|
||||
void on_timer();
|
||||
void handle_entries_sort(uint8_t index);
|
||||
void handle_filter_options(uint8_t index);
|
||||
bool handle_filter_options(uint8_t index, const BleRecentEntry& entry);
|
||||
bool updateEntry(const BlePacketData* packet, BleRecentEntry& entry, ADV_PDU_TYPE pdu_type);
|
||||
bool parse_beacon_data(const uint8_t* data, uint8_t length, std::string& nameString, std::string& informationString);
|
||||
bool parse_tracking_beacon_data(const uint8_t* data, uint8_t length, std::string& nameString, std::string& informationString);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue