yesterday I had the chance to test one of my programs on Mac OS X.
In general it works, but...
I have to open the serial port with a non standard baudraute.
The Linux method is not working
Code: Select all
LinuxSerialInfo.serial_struct
ioctl_(Handle , #TIOCGSERIAL, @LinuxSerialInfo)
LinuxSerialInfo\flags | #ASYNC_SPD_CUST
LinuxSerialInfo\custom_divisor = LinuxSerialInfo\baud_base / Baud
ioctl_(Handle, #TIOCSSERIAL, @LinuxSerialInfo)
I only found examples with IOSSIOSPEED in 'C', but no idea how I can use this
in combination with PB.
Hope somebody can help me.
Bernd