On my cable, I didn't use a diode or a resistor. Just soldered the comm wire to both TX and RX, and the ground to ground.