Debug messages over Wi-Fi


  • Code Contributor

    I wrote a library to be able to watch the debug messages from a ethernet gateway over Wi-Fi (or ethernet).
    It opens port 2300, so you can connect with putty (change the "Connection type" to Telnet or Raw).

    If anyone is interested, here is the code: https://github.com/marceloaqno/MyNetDebug

    To use it, add the following lines in your sketch before MySensors.h

    #include <MyNetDebug.h>
    #define MY_SERIALDEVICE NetDebug
    

    And into your loop function:

    void loop()
    {
      (void)NetDebug.available();
      ...
    

    For more details, please check the examples.



  • @marceloaqno interesting. Did you try it on atmega328p only? Other MCU?


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.