I've stripped down the serial port "echo" program I wrote to this:

Code:
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <termios.h>

#define BAUDRATE B115200
#define PORT "/dev/ttyS1"

int main(int argc, char **argv) {
int serial_fd; //serial port file descriptor
int len;
char buffer[255];
struct termios termios;

if((serial_fd = open("/dev/ttyS1", O_NOCTTY | O_RDWR)) > -1) {
bzero(&termios, sizeof(termios));
termios.c_cflag = BAUDRATE | CRTSCTS | CS8 | CLOCAL | CREAD;
termios.c_iflag = ICRNL;
termios.c_oflag = 0;
termios.c_lflag = ICANON;
termios.c_cc[VMIN] = 1;
termios.c_cc[VTIME] = 0;

tcflush(serial_fd, TCIFLUSH);
if(tcsetattr(serial_fd, TCSANOW, &termios) > -1) {
while(1) {
len = read(serial_fd, buffer, 255);
buffer[len] = 0x00;
fprintf(stderr, "line[%d]: %s", len, buffer);
}
} else {
fprintf(stderr, "error setting termios");
}
}

return 0;
}


And I still get the same output when beaming from my Palm program.
_________________________
Mark Cushman