archive old bbnow driver
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user