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. convert string to hex
Forum Updated to NodeBB v4.3 + New Features

convert string to hex

Scheduled Pinned Locked Moved Solved General and Desktop
15 Posts 4 Posters 3.6k 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 11 Nov 2018, 20:09 last edited by
    #4

    Hi,

    What exactly is your card reader expecting ?

    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
    1
    • V Offline
      V Offline
      veysel.olgun
      wrote on 11 Nov 2018, 21:34 last edited by veysel.olgun 11 Nov 2018, 21:36
      #5

      Example: write to block 40: “00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F” //this is what i send but i want to send for example "hello world" or "data was written"

      Successful operation:

      REQUEST : HOST->READER: 02 1B 00 3E DF 78 12 A6 28 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 1C 03

      ACKOWLEDGE : READER->HOST: 02 08 00 3E 00 00 34 03
      RESPONSE : READER->HOST: 02 0D 00 3E FF 01 04 DF 78 01 A6 CB 03

      1 Reply Last reply
      0
      • V Offline
        V Offline
        veysel.olgun
        wrote on 11 Nov 2018, 21:49 last edited by
        #6

        when i want to read block of 40 i have to show that :

        Example: read block 40 (0x28)

        Successful read of “00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F”:

        REQUEST : HOST->READER: 02 0B 00 3E DF 78 02 A5 28 1F 03

        ACK : READER->HOST: 02 08 00 3E 00 00 34 03

        RESPONSE : READER->HOST: 02 1D 00 3E FF 01 14 DF 78 11 A5 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F D8 03 //if i write hello worldworld i have to read that :

        02 1D 00 3E FF 01 14 DF 78 11 A5 hello worldworld D8 03 of course D8 03 will be changed

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 11 Nov 2018, 21:54 last edited by
          #7

          Can you provide a link to the protocol you should use with that reader ?

          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
          • V Offline
            V Offline
            veysel.olgun
            wrote on 11 Nov 2018, 22:04 last edited by
            #8
            This post is deleted!
            1 Reply Last reply
            0
            • V Offline
              V Offline
              veysel.olgun
              wrote on 11 Nov 2018, 22:17 last edited by
              #9

              can you send me your email adress from private message because there is no it on website, i have a pdf sorry i am late to reply because i have no reputation

              J 1 Reply Last reply 12 Nov 2018, 05:41
              0
              • V veysel.olgun
                11 Nov 2018, 22:17

                can you send me your email adress from private message because there is no it on website, i have a pdf sorry i am late to reply because i have no reputation

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 12 Nov 2018, 05:41 last edited by
                #10

                @veysel.olgun Don't ask others for their email address!
                You can upload the document to some sharing service (drop box for example) and post the link here.

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

                1 Reply Last reply
                2
                • V Offline
                  V Offline
                  veysel.olgun
                  wrote on 12 Nov 2018, 07:06 last edited by
                  #11

                  sorry for that, i will load dropbox

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    veysel.olgun
                    wrote on 12 Nov 2018, 07:31 last edited by
                    #12

                    https://www.dropbox.com/s/xb5uus6j8cu8juf/HOST-READER PROTOCOL v1.8. 15.03.2016 .pdf?dl=0

                    page number 14-17

                    thank you

                    1 Reply Last reply
                    0
                    • V Offline
                      V Offline
                      veysel.olgun
                      wrote on 15 Nov 2018, 09:01 last edited by
                      #13

                      hello i solved the problem thank you all

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 15 Nov 2018, 09:12 last edited by
                        #14

                        What was it ?

                        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
                        • V Offline
                          V Offline
                          veysel.olgun
                          wrote on 15 Nov 2018, 12:45 last edited by veysel.olgun
                          #15

                          it is about send to text data selected block and after take the text data selected block, actually if i show it it will be more understandable. i know it is easy to do but i was forced while converting.

                          (https://ddgobkiprc33d.cloudfront.net/2ff2c1a2-d1bd-4501-8519-8b81632ac359.png) i know ui is not good for now

                          1 Reply Last reply
                          0

                          13/15

                          15 Nov 2018, 09:01

                          • Login

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