Quote:
Originally Posted by CVB
I tried this out last weekend. The tricky part is it seems like the iphone has some sort of protections in place to prevent receiving serial communications. Sending serial commands seems to work well though.
I just tried it on the 30 pin connectors rx/tx lines... haven't messed with the bluetooth yet but I'd assume they would have the same type of scheme in place.
|
Just found this:
http://www.hackaday.com/2007/12/11/i...cess-tutorial/
Seems that the protection on receiving is that the device has to rotate the ground through the pins in the correct order. After you've done that, the port is open for serial business as usual. There's even a another project that built a serial GPS this way - a microcontroller to do the ground-toggling, then access is handed to the GPS device.
http://www.hackaday.com/2007/12/14/iphone-gps-module/
The good news is, this means that we can use the serial port, maybe even making cool things like a USB port or an SD slot. The bad news is, it pretty much trashes the theory that bluetooth would have the same protection.
My understanding is that the bluetooth stack lacks the serial protocols entirely. I think what would have to be done is the following:
1) find out what bluetooth chipset is in the iPhone
2) find another, fully bluetooth enabled phone with the same chipset
3) copy the bluetooth stack from the enabled phone to the iPhone
4) drink beer
Sadly, I'm not hacker enough to do it. Well, I could probably manage step 4 on my own, and maybe even steps 1 and 2, but I don't have the equipment for step 3.