• I'm using Serial2.TX for a specific purpose and without RX pin, it satisfies my needs. As of now, I can use Serial2 by sending my data naber (means hello) as normal.

    With a fixed interval, Wifi module sends some garbage to Serial2, so what I could capture is as follows:

    ernabernabernabernabernabernabernabernaber849614> Wifi event: probe request from station 74:f0:6d:09:91:54, rssi = -58
    849644> Wifi event: probe request from station 74:f0:6d:09:91:54, rssi = -61
    nabernabernabernaber850186> Wifi event: probe request from station 00:26:ab:e8:43:82, rssi = -61
    850188> Wifi event: probe request from station 00:26:ab:e8:43:82, rssi = -62
    850256> Wifi event: probe request from station 00:26:ab:e8:43:82, rssi = -62
    850298> Wifi event: probe request from station 00:26:ab:e8:43:82, rssi = -62
    

    How can I make these logs stopped?

  • ESP8266.logDebug() and/or ESP8266.setLog() ?

  • @tve require("ESP8266").logDebug(false) solved the issue. Thank you...

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

[SOLVED] How to prevent Wifi from sending "garbage" to Serial2?

Posted by Avatar for ceremcem @ceremcem

Actions