archive old bbnow driver

This commit is contained in:
2026-08-14 00:51:51 -05:00
parent 8b3ab06142
commit 85e8eda976
5 changed files with 52 additions and 6 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
#include "blk_box_drivers/bbnow_old.hpp"
#include "bbnow_pub.hpp"
#include "esp_now.h"
#include "esp_log.h"
#include "esp_mac.h"
@@ -150,7 +151,7 @@ static void bbnow_handle_received(const BBNowQueueItem& item) {
}
ESP_LOGI(TAG, "received PUB packet: type=%d", static_cast<int>(pkt->packet_type));
if (pkt->packet_type == BBNowPubPacketType::DISCOVERY) {
ESP_LOGI(TAG, " DISCOVERY expantion=%d", static_cast<int>(pkt->packet_data.discovery.expantion_type));
ESP_LOGI(TAG, " DISCOVERY expantion=%d", static_cast<int>(std::get<BlkBoxNowPubDiscoveryData>(pkt->packet_data).expantion_type));
}
break;
}