I have an embedded board with an onboard bluetooth capability. My board runs Linux with bluetooth support provided by the BlueZ stack. I have access to all the bluez utils like hciconfig, sdptool, rfcomm, etc.
I need to setup a bluetooth connection configured for supporting only SPP. My intent is to make my board's bluetooth connection discoverable through my iPhone and, when the iPhone pairs with my board's bluetooth connection, it can use serial over bluetooth to send/receive data.
Now, I have done my due research and tried to set this up using the bluez utils without success. I understand that I need to use the RFCOMM capabilities of bluetooth to setup SPP. I am missing something.
Can anyone please outline the steps I need to take to setup/configure SPP and then make my board's bluetooth discoverable with SPP to allow my phone to connect?