For what it's worth, I'm sure we had a similar problem and couldn't get round it.
I've just checked some old code and we replaced all the NULL (0x00) characters before sending with 0xFF, and translated them back on receipt.
Hope this helps.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nitin baranwal
Sent: 22 September 2006 06:38
To: Palm Developer Forum
Subject: Serial Communication - NULL in message

Hi
I am sending ASCII data of variable length (suppose 30 at this time) which contain NULL (0x00) at 25th location. Now when I am reading number of bytes using SrmReceiveCheck, it is showing only 24 bytes, not 30. Is there any way to get the correct number of bytes?
 
Thanks
Nitin


Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

--
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to