Re: Opening and waiting for events - Serial port

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks for replying, Darren.

I am using MSR5000 that works with Symbol MC50s. They have applications,
but do not work with the magnetic stripe cards I have. Works great with
credit cards. The data on track 2 and 3 is not reading with my cards. They
are 210 bpi 7bits/track ISO cards.

I tried OpenNETCF and I cannot get that to work either. I cannot get
"DataReceived" event handler to work at all. I can open the ports and that
is all.

Please suggest what I neeed to do.


"Darren Shaffer" wrote:

> if you are using the clip-on MSR for the MC50 from Symbol,
> the Symbol SDK for .NET includes classes to enable, query,
> and disable that MSR. Serial control is included in that. The
> SDK also comes with sample apps to control the integrated MSR.
> You can download that SDK from devzone.symbol.com
>
> I've been trying to do something similar from an MC50
> to an external MSR which is part of a Zebra Cameo printer
> and have been having trouble with that myself - the Symbol
> SDK won't handle an external MSR. It seems like some sort
> of timing issue in serial communications (I am using OpenNETCF
> for that project) and I just haven't cracked it yet but will post a
> solution once I have it.
> --
> Darren Shaffer
> ..NET Compact Framework MVP
> Principal Architect
> Connected Innovation
> www.connectedinnovation.com
>
> "deshetty" <deshetty@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:AE5AC5B2-589D-43AD-AD7A-2F5FEAFCA767@xxxxxxxxxxxxxxxx
> >I am having a hard time to read data off of magnetic stripe reader on my
> > Symbol MC50. I am using OpenNETCF.IO.Serial and datareceived() event. I
> > need a good example to open a port and read data from a regular credit
> > card.
> >
> > I tried testing the SerialVB app in VB and it's not reading any data. Can
> > someone tell me what the steps are in coding to access a serial port
> > device.
> > All I am trying to do is hook up a msr to pocket pc and swipe a card and
> > read
> > data. That is all.
> >
> > Please suggest.
>
>
>
.


Quantcast