[Bluetooth] API in SDK?
Does the iPhone SDK include an API for sending serial data over Bluetooth? If not, is it expected that this will come to pass?
(Sorry, I would look in the SDK for my answer but I don't have access to the SDK because I can't commit to creating the app until I know the answer, and committing to creating the app means buying a Mac and paying the developer fee.)
The iPhone's bluetooth stack does not include the SPP profile, so you would not be able to send data over bluetooth. There are hints of an upgraded stack in 2.0, but I doubt that the bluetooth radio will ever be accessible from SDK apps as Apple has drawn up explicit boundaries that keep devs from doing anything fun like that ;).
Only time will tell if Apple will change their policy, so there's no real "expectation" that you could reasonably act upon.
I am not sure I completely understand why, but I have a java app that runs on cell phones and it can send TO any device that implements the SPP profile even when the sending unit does not. I think that the sending devices have a partial implementation or something but not really sure. But if there is no API exposed to use the Bluetooth radio at all, then it doesn't really matter.
What about 3rd party apps that run on Jailbroken phones? Can they access the Bluetooth radio? Just out of curiosity, of course.
And again, just out of curiosity, why does Apple draw the line where it does, regarding Bluetooth?
In fact I have not seen a single instance of Bluetooth anywhere in the API.
So apparently there's no access to the Bluetooth through the SDK.