Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. xModem + QtSerialPort
QtWS25 Last Chance

xModem + QtSerialPort

Scheduled Pinned Locked Moved General and Desktop
xmodemserialportymodemzmodemqtserialport
9 Posts 6 Posters 7.3k Views
  • 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.
  • B Offline
    B Offline
    bobi-one
    wrote on last edited by
    #1

    Hi,
    Have somebody tried to use x | y | z protocol to transfer file over serial.
    I need to do it but cannot find a library from which to start porting. From what I read the protocol is pretty nasty and making it work on windows and linux will be a long-shot.
    If you have any hints from where to start will be greatly appreciated.
    Regards,
    Boyko

    1 Reply Last reply
    1
    • D Offline
      D Offline
      debugger
      wrote on last edited by
      #2

      You can use teraterm tool in windows and transfer using y modem over serial.
      It's an opensource project.

      B 1 Reply Last reply
      0
      • D debugger

        You can use teraterm tool in windows and transfer using y modem over serial.
        It's an opensource project.

        B Offline
        B Offline
        bobi-one
        wrote on last edited by
        #3

        @debugger
        The point is that transfer must be done from my app without the need of teraterm or lrzsz

        D 1 Reply Last reply
        0
        • B bobi-one

          @debugger
          The point is that transfer must be done from my app without the need of teraterm or lrzsz

          D Offline
          D Offline
          debugger
          wrote on last edited by
          #4

          @bobi-one I dont know if this is what u need. But please see this:
          http://www.menie.org/georges/embedded/xmodem.html

          B 1 Reply Last reply
          0
          • D debugger

            @bobi-one I dont know if this is what u need. But please see this:
            http://www.menie.org/georges/embedded/xmodem.html

            B Offline
            B Offline
            bobi-one
            wrote on last edited by
            #5

            @debugger
            This is for C and from the looks of it have to find a cpp way to make the crc checks.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Digits
              wrote on last edited by
              #6

              Hi @bobi-one ,
              did you find a solution to your problem? I'm in a similar situation right now...
              Regards,
              Jan

              jsulmJ mrjjM 2 Replies Last reply
              0
              • D Digits

                Hi @bobi-one ,
                did you find a solution to your problem? I'm in a similar situation right now...
                Regards,
                Jan

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Digits "This is for C and from the looks of it have to find a cpp way to make the crc checks." - C is more or less a subset of C++, so you can use the C code in your C++ project.

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • D Digits

                  Hi @bobi-one ,
                  did you find a solution to your problem? I'm in a similar situation right now...
                  Regards,
                  Jan

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Digits
                  Hi
                  He has not been online for 2 years so its unlike he return to answer this.
                  Maybe you can use this
                  https://github.com/QkThings/qkloader
                  IT implements XMODEM in a more cpp friendly way using QSerialPort

                  1 Reply Last reply
                  4
                  • B Offline
                    B Offline
                    Brasch1
                    Banned
                    wrote on last edited by
                    #9
                    This post is deleted!
                    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