I am using a Nokia 5500 to talk to an external device via Bluetooth. The device uses SPP, has a baud rate of 9600 bps and a pin of 1234.

When I use the sample BT python programs to try and talk with this device I get "error 54 - connection refused by remote host" from the bt-discover method.

Can somehow show me how I define the PIN and baud rate so that I can talk to my device please!