I'm writing some code to make an outgoing Bluetooth connection, but the device I'm connecting to requires a passkey for bonding. I've looked at the code, but haven't seen an example of how to do this. Can anyone give me a pointer to how to do this?

Thanks muchly,