I was never able to get Pose or the simulator to accurately model the serial ports and I've been working with RS232 on the Palm since the Personal/Pro days. What geometry are you using for the port settings? Things like baud rate and clearing out the I/O buffers will make a difference. How sensitive to the RS232 spec is your sensor? I personally do not have a T3 but have found every hand held model has its own variations in the signal levels. With some, its enough to produce framing errors or garble the data.
----- Original Message ----- From: "Karl-Petter �kesson" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, June 08, 2004 3:06 AM Subject: Serial comm differences between Simulator and real device > Hi, > > I'm new to the list but I have looked some in the online archives to > find an answer but have not. The problem I have is that my code works > just fine on the Palm Simulator on my PC but when I move the application > to the T3 it behaves strange. I'm aware of the CTS/RTS bug and thats > taken care of. I have also made some tests so I'm sure its not a > hardware problem. > > Tha application sends a small array of command bytes to a sensor that > will start sending data back continously. On the PC with the simulator > this works just fine. Though on the T3 I get just a small amount of data > back and then it is like there is no more data available to read. > > When I use a serial terminal program like Portabella on the T3 I can > send the same array of command bytes and get a continous stream of data > so its not any hardware problem. > > Except for the CTS/RTS bug, are there any other known differences > between the simulator and the real devices? > > Portabella - > http://www.palmgear.com/index.cfm?fuseaction=software.showsoftware&SID=6F908F1C-CF18-ADC1-A2DFB845F8B7A362&PartnerREF=&prodID=54404 > > Best Regards, > > Karl-Petter > > > > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
