T
tesko905
Hi NG,
I've recently taken on the task of creating some custom software for
a
Treo 750v. The Treo has a working serial port (tested with a
terminal
emulator) and is running Windows Mobile 5.0 with Compact Framework
2.0
installed.
Lets start off with some background first....
For my first attempt, I attempted using the emulator, and the first
issue I encountered was that I could not receive any data on the
serial
port (BytesToRead property was always 0, and yes I bound the emulator
comport to a real comport in the settings). So, for the heck of it I
compiled the same code, and ran it as a standalone app on windows XP.
Everything worked great! So I finished developing the app, running
into
many minor issues, one of which was:
serial.write(chr(data).toString) has a TX parity error 40% of the
time.
Switching to a byte array solved it (don't know why), and I went
along
my merry way.
Anyway, the app is finished, and ready to be installed on the
handheld
device. I installed it, it fired up no problem, then as soon as
communication begins I'm bombarded with frame error after frame
error.
Obviously it has to do with it being run on a handheld, and
unfortunately I don't have another model handheld to test on. Anyone
have any similar issues?
-Thanks
I've recently taken on the task of creating some custom software for
a
Treo 750v. The Treo has a working serial port (tested with a
terminal
emulator) and is running Windows Mobile 5.0 with Compact Framework
2.0
installed.
Lets start off with some background first....
For my first attempt, I attempted using the emulator, and the first
issue I encountered was that I could not receive any data on the
serial
port (BytesToRead property was always 0, and yes I bound the emulator
comport to a real comport in the settings). So, for the heck of it I
compiled the same code, and ran it as a standalone app on windows XP.
Everything worked great! So I finished developing the app, running
into
many minor issues, one of which was:
serial.write(chr(data).toString) has a TX parity error 40% of the
time.
Switching to a byte array solved it (don't know why), and I went
along
my merry way.
Anyway, the app is finished, and ready to be installed on the
handheld
device. I installed it, it fired up no problem, then as soon as
communication begins I'm bombarded with frame error after frame
error.
Obviously it has to do with it being run on a handheld, and
unfortunately I don't have another model handheld to test on. Anyone
have any similar issues?
-Thanks