does anyone got a sample code of SPP communication ( serial over bluetooth ) for iOS ? I\'d need to communicate between my microchip pic and an iphone or iPod.
I kno
You have two options:
For small projects, research, development, etc., there are many companies that sell RS232 and USB to Bluetooth dongles. These are easy controllable via a simple and limited API. Here is an example. There are also similar chinese companies here or here If you want iPhone connectivity it is just a matter of getting hold of a couple of MFi co-processors and soldering them on to the dev board. The firmware should alreadyhandle iOS connections. See this.
If you have more serious intentions, like making your own hardware, you need to look at:
Bluetooth chips. Here is the website of a major vendor specialized in BT chips. You can also try Texas Instruments, Microchip, etc.
MFi authentication co-processors.