From ca75dee4f2d8b76b1b68ea4b486142026c0aac79 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Sun, 1 Apr 2018 16:59:48 +0200 Subject: [PATCH] logging modified --- src/wifisniffer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wifisniffer.cpp b/src/wifisniffer.cpp index 2435e9cf..70dcb7e4 100644 --- a/src/wifisniffer.cpp +++ b/src/wifisniffer.cpp @@ -83,10 +83,8 @@ void wifi_sniffer_packet_handler(void* buff, wifi_promiscuous_pkt_type_t type) { macnum++; // increment MAC counter itoa(macnum, counter, 10); // base 10 decimal counter value u8x8.draw2x2String(0, 0, counter); - ESP_LOGI(TAG, "RSSI %04d -> Hash %05u -> #%05i", ppkt->rx_ctrl.rssi, hashedmac, macnum); + ESP_LOGI(TAG, "#%05i: RSSI %04d -> Hash %05u", macnum, ppkt->rx_ctrl.rssi, hashedmac); } - else // already seen MAC - ESP_LOGI(TAG, "RSSI %04d -> already seen", ppkt->rx_ctrl.rssi); #ifdef VENDORFILTER }