@@ -109,11 +109,11 @@ void GeneralUtils::dumpInfo() {
109
109
size_t freeHeap = heap_caps_get_free_size (MALLOC_CAP_8BIT);
110
110
esp_chip_info_t chipInfo;
111
111
esp_chip_info (&chipInfo);
112
- ESP_LOGD (LOG_TAG, " --- dumpInfo ---" );
113
- ESP_LOGD (LOG_TAG, " Free heap: %d" , freeHeap);
114
- ESP_LOGD (LOG_TAG, " Chip Info: Model: %d, cores: %d, revision: %d" , chipInfo.model , chipInfo.cores , chipInfo.revision );
115
- ESP_LOGD (LOG_TAG, " ESP-IDF version: %s" , esp_get_idf_version ());
116
- ESP_LOGD (LOG_TAG, " ---" );
112
+ ESP_LOGV (LOG_TAG, " --- dumpInfo ---" );
113
+ ESP_LOGV (LOG_TAG, " Free heap: %d" , freeHeap);
114
+ ESP_LOGV (LOG_TAG, " Chip Info: Model: %d, cores: %d, revision: %d" , chipInfo.model , chipInfo.cores , chipInfo.revision );
115
+ ESP_LOGV (LOG_TAG, " ESP-IDF version: %s" , esp_get_idf_version ());
116
+ ESP_LOGV (LOG_TAG, " ---" );
117
117
} // dumpInfo
118
118
119
119
@@ -231,7 +231,7 @@ void GeneralUtils::hexDump(uint8_t* pData, uint32_t length) {
231
231
if (index % 16 == 0) {
232
232
strcpy(hexBuf, hex.str().c_str());
233
233
strcpy(asciiBuf, ascii.str().c_str());
234
- ESP_LOGD (tag, "%s %s", hexBuf, asciiBuf);
234
+ ESP_LOGV (tag, "%s %s", hexBuf, asciiBuf);
235
235
hex.str("");
236
236
ascii.str("");
237
237
}
@@ -243,8 +243,8 @@ void GeneralUtils::hexDump(uint8_t* pData, uint32_t length) {
243
243
}
244
244
strcpy(hexBuf, hex.str().c_str());
245
245
strcpy(asciiBuf, ascii.str().c_str());
246
- ESP_LOGD (tag, "%s %s", hexBuf, asciiBuf);
247
- //ESP_LOGD (tag, "%s %s", hex.str().c_str(), ascii.str().c_str());
246
+ ESP_LOGV (tag, "%s %s", hexBuf, asciiBuf);
247
+ //ESP_LOGV (tag, "%s %s", hex.str().c_str(), ascii.str().c_str());
248
248
}
249
249
FreeRTOS::sleep(1000);
250
250
}
@@ -266,7 +266,7 @@ void GeneralUtils::hexDump(uint8_t* pData, uint32_t length) {
266
266
}
267
267
index++;
268
268
if (index % 16 == 0) {
269
- ESP_LOGD (tag, "%s %s", hex.str().c_str(), ascii.str().c_str());
269
+ ESP_LOGV (tag, "%s %s", hex.str().c_str(), ascii.str().c_str());
270
270
hex.str("");
271
271
ascii.str("");
272
272
}
@@ -276,7 +276,7 @@ void GeneralUtils::hexDump(uint8_t* pData, uint32_t length) {
276
276
hex << " ";
277
277
index++;
278
278
}
279
- ESP_LOGD (tag, "%s %s", hex.str().c_str(), ascii.str().c_str());
279
+ ESP_LOGV (tag, "%s %s", hex.str().c_str(), ascii.str().c_str());
280
280
}
281
281
FreeRTOS::sleep(1000);
282
282
}
@@ -296,8 +296,8 @@ void GeneralUtils::hexDump(const uint8_t* pData, uint32_t length) {
296
296
char tempBuf[80 ];
297
297
uint32_t lineNumber = 0 ;
298
298
299
- ESP_LOGD (LOG_TAG, " 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f" );
300
- ESP_LOGD (LOG_TAG, " -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --" );
299
+ ESP_LOGV (LOG_TAG, " 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f" );
300
+ ESP_LOGV (LOG_TAG, " -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --" );
301
301
strcpy (ascii, " " );
302
302
strcpy (hex, " " );
303
303
uint32_t index=0 ;
@@ -312,7 +312,7 @@ void GeneralUtils::hexDump(const uint8_t* pData, uint32_t length) {
312
312
strcat (ascii, tempBuf);
313
313
index++;
314
314
if (index % 16 == 0 ) {
315
- ESP_LOGD (LOG_TAG, " %.4x %s %s" , lineNumber*16 , hex, ascii);
315
+ ESP_LOGV (LOG_TAG, " %.4x %s %s" , lineNumber*16 , hex, ascii);
316
316
strcpy (ascii, " " );
317
317
strcpy (hex, " " );
318
318
lineNumber++;
@@ -323,7 +323,7 @@ void GeneralUtils::hexDump(const uint8_t* pData, uint32_t length) {
323
323
strcat (hex, " " );
324
324
index++;
325
325
}
326
- ESP_LOGD (LOG_TAG, " %.4x %s %s" , lineNumber*16 , hex, ascii);
326
+ ESP_LOGV (LOG_TAG, " %.4x %s %s" , lineNumber*16 , hex, ascii);
327
327
}
328
328
} // hexDump
329
329
0 commit comments