This is the pinout for the 10 pin header on the board. Thanks to Ralph Babel.
CN4 : |5 4 3 2 1|
|- 9 8 7 6| if you use a ribbon cable, it will be correct almost
ŻŻŻŻŻŻŻŻŻ automatically.
1 = DCD 6 = DSR
2 = RxD 7 = RTS
3 = TxD 8 = CTS
4 = DTR 9 = RI
5 = GND