Aloha Bryan:

It looks like you're sending the pointer to StringBuffer, not StringBuffer
itself. What you're getting out your serial port is both bytes of a 16-bit
integer, i.e. a pointer.

Try this:

SerSend(SerLibRef, &StringBuffer, StrLen(StringBuffer), &errP);


James


> send B as well, it's like it wraps around on itself. I use SerSendWait but
> that doesn't seem to help. Here is a little snippet of the code I use:
>
> char StringBuffer[] = "BCD"; // this is global
>
> SerSendFlush(SerLibRef);
> SerSend(SerLibRef, StringBuffer, StrLen(StringBuffer), &errP);
> SerSendWait(SerLibRef, -1);
>




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

Reply via email to