diff --git a/platformio.ini b/platformio.ini index 57a94fb8..4c4cb5c4 100644 --- a/platformio.ini +++ b/platformio.ini @@ -10,9 +10,9 @@ ; ---> SELECT TARGET PLATFORM HERE! <--- [platformio] -env_default = heltec_wifi_lora_32 +;env_default = heltec_wifi_lora_32 ;env_default = ttgov1 -;env_default = ttgov2 +env_default = ttgov2 ;env_default = lopy ;env_default = lopy4 ;env_default = lolin32lite_lora diff --git a/src/main.cpp b/src/main.cpp index 37ff4d32..714c0751 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -188,6 +188,7 @@ void wifi_sniffer_loop(void * pvParameters) { configASSERT( ( ( uint32_t ) pvParameters ) == 1 ); // FreeRTOS check uint8_t channel = 1; int nloop=0, lorawait=0, salt = rand() % 256; // random int between 0 and 255 used for salting MAC hashes + ESP_LOGI(TAG, "Scan initialzied, salt value: %i", salt); while (true) { nloop++; @@ -220,6 +221,7 @@ void wifi_sniffer_loop(void * pvParameters) { macnum = 0; u8x8.clearLine(0); u8x8.clearLine(1); // clear Display counter salt = rand() % 256; // get new random int between 0 and 255 for salting MAC hashes + ESP_LOGI(TAG, "Scan cycle completed, new salt value: %i", salt); } // wait until payload is sent, while wifi scanning and mac counting task continues diff --git a/src/main.h b/src/main.h index 2f7f16b1..dadeac93 100644 --- a/src/main.h +++ b/src/main.h @@ -1,5 +1,5 @@ // program version -#define PROGVERSION "1.2.6" // use max 10 chars here! +#define PROGVERSION "1.2.61" // use max 10 chars here! #define PROGNAME "PAXCNT" // Verbose enables serial output