The serial port must be over USB cable, from the phone to a computer.
In Java, I got it working by using the following code:
CommConnection comm = (CommConnection)Connector.open("comm:USB1");
// Now use comm to read and write data
How can I do this in Python for mobiles, specifically PyS60?
I got this from here: