Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-382

Console logging output contains garbage when device link is enabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt for MCUs 2.10, Qt for MCUs 2.9.1
    • Platform Team
    • None

    Description

      When the platform is built with device link enabled, the console logging output contains garbage when viewing it through minicom / Putty / Tera Term and pressing any button.

      With Putty it happens even without pressing any button, unless Putty is explicitly configured to disable flow control, and to turn off "keepalives". Otherwise Putty will also send null packets over the serial console.

      Any input received will cause the ./platform/common/devicelink.cpp to enable the device link protocol, wrapping all console logging output in minihdlc frames and protocol buffers.

      It would be better if the device link protocol was only activated once a valid device link message was received on the device, instead of simply by receiving any arbitrary data.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            srodal Samuel Rødal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes