I_LOG_MESSAGE & OTALogPrint()



  • I try to send a C_INTERNAL / I_LOG_MESSAGE via MYSController.

    According to the documentation, that's the same output format that the OTALog() function https://www.mysensors.org/apidocs-beta/group__MyOTALogginggrp.html

    That's what I send "100;255;3;0;9;Hello"
    from MYSController via a raspberry Gateway (2.2.0-rc.2) to NodeID: 100

    On the node receiver: (ID #100) VER=2.2.0-rc.2
    // Enable OTA log display
    #define MY_OTA_LOG_RECEIVER_FEATURE

    I got the message below on the serial output

    157866 TSF:MSG:READ,0-0-100,s=0,c=3,t=9,pt=0,l=5,sg=0:Hello
    ⸮⸮⸮WvqA⸮⸮⸮⸮⸮⸮⸮⸮;⸮⸮In⸮⸮r⸮⸮i⸮Og⸮⸮Hello...
    

    The message is unreadable as you can see.
    What's wrong ??

    I have the same issue with LogOTANode & LogOTAGateway sketch examples. That doesn't work.
    Something seems to be wrong arround OTALogPrint() function
    https://www.mysensors.org/apidocs-beta/group__MyOTALogginggrp.html#gacda87d62975a29d2a379ce2ac64bab26

    My goal is to send some debug messages from a node to another one. I need to check and see what's happening in my sketch in development version. The node is inaccessible.


Log in to reply
 

Suggested Topics

51
Online

11.4k
Users

11.1k
Topics

112.7k
Posts