DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Weird Strings received from RS232 Serial Port

  1. #1
    Join Date
    Aug 2005
    Posts
    4

    Weird Strings received from RS232 Serial Port

    I have downloaded and used the RS232 tester from this page and it is greatly useful to me. However, I have the following problem in hand.

    I used the software to receive data from a RFID reader (you may simply treat it like a barcode scanner) through RS232 communication. The software does receive strings from the reader every time an event is triggered (i.e. a tag is read by the reader). I'm sure the Expecting reading data should look similar to this:

    {Rd,d:02123579ABCDEF000098EB18, .........

    However, the Actual reading data is rather not understandable. The following is an example:

    hhkkhh++((++hhkk

    I have no idea what cause this happen since I didn't write the RS232 class provided in the software. However, I have a feeling that it can be a simple encoding/decoding problem? Any comments will be greatly appreciated.

    Thanks in advanced

    KCUK

  2. #2
    Join Date
    Aug 2005
    Posts
    4
    I found why! It is because of the RS232 protocol mis-matched to the reader. In brief, a wrong value had set to the baud rate!

Similar Threads

  1. Replies: 1
    Last Post: 02-21-2006, 02:23 AM
  2. Replies: 2
    Last Post: 01-16-2006, 04:34 PM
  3. Replies: 0
    Last Post: 11-11-2005, 11:59 AM
  4. Serial Port Programming
    By newbie29 in forum Java
    Replies: 0
    Last Post: 05-16-2005, 04:55 PM
  5. Replies: 25
    Last Post: 03-18-2005, 06:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center