Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8591465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:32:05+00:00 2026-06-11T23:32:05+00:00

I am using an rs232 HID reader. Its manual says that its output is

  • 0

I am using an rs232 HID reader.
Its manual says that its output is

  CCDDDDDDDDDDXX     
where CC is reserved for HID    
      DDDDDDDDDD is the transponder (the card) data
      XX is a checksum    

the checksum is well explained and irrelevant here. About DDDDDDDDDD only says valid values are 0000000000 to 1FFFFFFFFF but no indication of how it converts to what is printed on front face of the card.
I have 3 sample cards, sadly on a short range (edit plus an extra one). here I show them:

readed from rs232     shown on card    
 00000602031C27          00398    
 00000602031F2A          00399    
 0000060203202B          00400    
 00000601B535F1          55962       **new 

Also I have a DB with 1000 cards loaded (what is printed on front) so I need the the decode path from what I read on rs232 to what is printed on front.

Some values from DB (I have seen the cards, but I have no phisical access to them now)

55503
60237
00833

Thanks a lot to every one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T23:32:06+00:00Added an answer on June 11, 2026 at 11:32 pm

    Googling for the string “CCDDDDDDDDDDXX” returns http://www.rfideas.com/downloads/SerialAppNote8.pdf which seems to describe how to decode the numbers. I don’t guarantee if that is accurate.

    Decoding the Standard 26-bit Format

    Message sent by the reader:

    C C D D D D D D D D D D X X
    ---------------------------
    0 0 0 0 0 6 0 2 0 3 1 C 2 7
    0 0 0 0 0 6 0 2 0 3 1 F 2 A
    0 0 0 0 0 6 0 2 0 3 2 0 2 B
    0 0 0 0 0 6 0 1 B 5 3 5 F 1
    

    Stripping off the checksum, X, and reducing the data to binary gives:

      C    C    D    D    D    D    D    D    D    D    D    D
    cccc cccc zzzz zzzz zzzz zspf ffff fffn nnnn nnnn nnnn nnnp
    -----------------------------------------------------------
    0000 0000 0000 0000 0000 0110 0000 0010 0000 0011 0001 1100
    0000 0000 0000 0000 0000 0110 0000 0010 0000 0011 0001 1111
    0000 0000 0000 0000 0000 0110 0000 0010 0000 0011 0010 0000
    0000 0000 0000 0000 0000 0110 0000 0001 1011 0101 0011 0101
    

    All the Card Data Characters to the left of the 7th can be ignored.

    • c = HID Specific Code.
    • z = leading zeros
    • s = start sentinel (it is always a 1)
    • p = parity odd and even (12 bits each).
    • f = Facility Code 8 bits
    • n = Card Number 16 bits

    From this we can see that

    • 00000602031C27 → n = 0b0000000110001110 = 398
    • 00000602031F2A → n = 0b0000000110001111 = 399
    • 0000060203202B → n = 0b0000000110010000 = 400
    • 00000601B535F1 → n = 0b1101101010011010 = 55962

    So, for your example, we may probably get:

    • 55503
    • (f, n) = 0b0000_0001__1101_1000_1100_1111
    • odd parity of first 12 bits = 0
    • even parity of last 12 bits = 0
    • result = 00000403b19e56
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm dealing with some legacy systems that are using RS232 to communicate with peripherals.
I've done a good deal of RS232 work using the .Net 2.0 serialport class
I'am using the Rs232 Class Library in a vb.net application to print text to
I need to write some code to stress-test RS232 communication using rxtx ( note
Possible Duplicate: Faking an RS232 Serial Port I'm developing an app that uses a
I'm working with a GPS module that is transferring data to my mac over
i need to communicate with a serial RS232 device using a GUI in Qt....i
I have a program that is used to talk to hardware over rs232. This
I have hardware device that is controlled through an rs-232 interface (Its an ultrasound
i need functionality like..connect android device to external usb device using RS232 interface. also

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.