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. Half Duplex mode in Qt
Forum Updated to NodeBB v4.3 + New Features

Half Duplex mode in Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 5 Posters 1.1k Views 2 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.
  • E Offline
    E Offline
    EvanZ
    wrote on last edited by
    #1

    Hi there,
    I've written a mini program with Qt.5.12.0 to send data to a RFID reader/writer and then read the data using the QSerialPort class. Regardless of the data I send, I always get the same response back (Hex: \xFE). I've tested the RFID reader/writer with RealTerm and the same thing happens. However, when I select the "Half Duplex" mode in RealTerm, I get the correct response back. So my question is, how can I select a "Half Duplex" mode in the QSerialPort class? EvanZ

    1 Reply Last reply
    0
    • mrdebugM Offline
      mrdebugM Offline
      mrdebug
      wrote on last edited by
      #2

      Can you post information about protocol and device?
      Is it a 485 device?

      Need programmers to hire?
      www.labcsp.com
      www.denisgottardello.it
      GMT+1
      Skype: mrdebug

      aha_1980A 1 Reply Last reply
      1
      • E Offline
        E Offline
        EvanZ
        wrote on last edited by EvanZ
        #3

        Hi MrDebug, Thank you for your reply. I don't know if it is a 485 device, but I know that it works with ISO 14443A/B, ISO 15693, Mifare Desfire and Mifare Plus cards. EvanZ

        1 Reply Last reply
        0
        • mrdebugM mrdebug

          Can you post information about protocol and device?
          Is it a 485 device?

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

          @EvanZ

          @mrdebug said in Half Duplex mode in Qt:

          Can you post information about protocol and device?

          Is there no documentation for your device?

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote on last edited by
            #5

            Sorry but the ISO 14443A/B, ISO 15693 is the standard mifare "radio size".
            It could implement the nfc standard.

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

            1 Reply Last reply
            1
            • E Offline
              E Offline
              EvanZ
              wrote on last edited by
              #6

              I'm working with two different RFID reader/writer devices. One is a CL 663 and the other one, I don't have any documentation, unfortunately. But I have the same problem with both types of devices.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi,

                @kuzulis do you have any insight about this use case ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kuzulis
                  Qt Champions 2020
                  wrote on last edited by
                  #8

                  AFAIK, the serial port device always work in full-duplex. A half/full duplex makes not sense for RS232/TTL interfaces. It makes sense only for RS485/422 interfaces.

                  As I understand, RFID just echoing each command. Maybe it is possible to disable this default RFID behavior by sending some commands to RFID (see datasheet on yor RFID).

                  About the RealTerm and its "Half-Duplex" mode: I don't see any specific options to control the serial port handle there (in those Deplhi sources) to enable the "Half-Duplex" mode. I assume, that this mode are implemented in the programmatically way (it just ignores the received echo).

                  1 Reply Last reply
                  0

                  • Login

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