Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Independent Developers
  4. Deciphering a Serial Communications
Forum Updated to NodeBB v4.3 + New Features

Deciphering a Serial Communications

Scheduled Pinned Locked Moved Unsolved Independent Developers
3 Posts 3 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TJOnline
    wrote on last edited by
    #1

    Hi. I'm hoping someone can help me solve a challenging problem or direct me to somewhere that might. I purchased a LIDAR module from a company called LeddarTech. The module works and communicates over a serial link via a USB port. It employs the MODBUS protocol. I'm trying to use a utility called 'Device Monitoring Studio' to examine the interaction between an executable provided by LeddarTech and the device in the hope that I can emulate the serial interaction between their executable and the device. DMS provides the following serial dump at the onset of communications with the device, which is a query for information about the identity of the device prior to configuration and use. I know the configurable name of the device is DEFAULT NAME. I know its serial number is AH48001. And both of those are apparent in the dump. Clearly, the dump must include data transmitted both to and from the device, but it is not clear from the dump where one ends and the other starts. Perhaps there is a better serial monitoring tool for my task that can differentiate the two? Can anyone offer any advice or insight as to how to proceed? Thanks so much.

    http://www.afafa.org/LeddarTech_Modbus_Stream.png

    aha_1980A G 2 Replies Last reply
    0
    • T TJOnline

      Hi. I'm hoping someone can help me solve a challenging problem or direct me to somewhere that might. I purchased a LIDAR module from a company called LeddarTech. The module works and communicates over a serial link via a USB port. It employs the MODBUS protocol. I'm trying to use a utility called 'Device Monitoring Studio' to examine the interaction between an executable provided by LeddarTech and the device in the hope that I can emulate the serial interaction between their executable and the device. DMS provides the following serial dump at the onset of communications with the device, which is a query for information about the identity of the device prior to configuration and use. I know the configurable name of the device is DEFAULT NAME. I know its serial number is AH48001. And both of those are apparent in the dump. Clearly, the dump must include data transmitted both to and from the device, but it is not clear from the dump where one ends and the other starts. Perhaps there is a better serial monitoring tool for my task that can differentiate the two? Can anyone offer any advice or insight as to how to proceed? Thanks so much.

      http://www.afafa.org/LeddarTech_Modbus_Stream.png

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @TJOnline before starting to reverse-engineer the protocol: ask the vendor company for a programming manual?

      Regarding the spy: I've tried several serial monitors, none of them reached the quality of Wireshark. And with USB-Serial, you're even more limited (you cannot intercept the serial line between PC and device).

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • T TJOnline

        Hi. I'm hoping someone can help me solve a challenging problem or direct me to somewhere that might. I purchased a LIDAR module from a company called LeddarTech. The module works and communicates over a serial link via a USB port. It employs the MODBUS protocol. I'm trying to use a utility called 'Device Monitoring Studio' to examine the interaction between an executable provided by LeddarTech and the device in the hope that I can emulate the serial interaction between their executable and the device. DMS provides the following serial dump at the onset of communications with the device, which is a query for information about the identity of the device prior to configuration and use. I know the configurable name of the device is DEFAULT NAME. I know its serial number is AH48001. And both of those are apparent in the dump. Clearly, the dump must include data transmitted both to and from the device, but it is not clear from the dump where one ends and the other starts. Perhaps there is a better serial monitoring tool for my task that can differentiate the two? Can anyone offer any advice or insight as to how to proceed? Thanks so much.

        http://www.afafa.org/LeddarTech_Modbus_Stream.png

        G Offline
        G Offline
        GarryLman
        wrote on last edited by GarryLman
        #3

        @TJOnline Hi,
        A difficult case. There are software for monitoring and sniffer. I know exactly what https://com-port-monitoring.com Pro version will handle this. Alas, software is not free, but it will definitely be able to open a COM port that is already connected. And I agree with the previous speaker in USB-Serial, you're even more limited.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved