Serial Port Profile (SPP) communication on Mac OSX - objective-c

I am looking for Bluetooth SPP communication between MAC OSX and bluetooth device.
I am able to discover bluetooth device. I could not find examples on SPP communication on Mac OSX.
I have the foll0wing resources with me
https://developer.apple.com/library/mac/documentation/devicedrivers/conceptual/bluetooth/Bluetooth.pdf
Could someone point me the examples or any pointers where I can start.
Is it advisable to use SPP. I did not find much info on this but I found some APIs for OBEX?
If we have to use SPP then where can I find links?

I found the following links useful
https://developer.apple.com/library/mac/navigation/index.html?filter=bluetooth
Bluetooth Example Code for Cocoa (Objective-C)
Examples hosted at the following link
http://cs.dal.ca/~mcormier/Bluetooth.zip

Related

RFID protocol simulator

I am developing authentication protocol between RFID reader and tag. But i couldn't find a simulator for that. I came across OMNET++ and NS2. But don't know how to do. How to use these simulators ? Is there any other simple simulator for RFID system? Please share your knowledge. Thanks.

Need information on IOBlueTooth

I need to know few things about IOBlueTooth framework for MAC:
Does this framework support BTLE?
What different does it has from iOS framework CoreBlueTooth?
To support BTLE on MAC OSX, do we need both IOBlueTooth & CoreBlueTooth framworks? Please share link for some sample app, if any?
Also, please point me to some good documentation or WWDC videos for IOBlueTooth framework.
1.) Yes..assuming you have a mac that supports BLE (airs, minis, and newest macbook pro's i believe)
2.) The IOBluetooth framework contains C and Objective-c api's to connect to nearby Bluetooth devices (not only BLE devices). So yes, it contains the CoreBluetooth.framework, but the IOBluetooth framework allows you to interact with Bluetooth devices supporting other protocols as well.
3.) You need to import the IOBluetooth.framework since CoreBluetooth.framework is embedded inside it, but that's all you need to do with it.
Check out the Heart Rate Monitor sample code.

need help for bluetooth framework on mac osx

i'm an iOs developer and I actually need to make a mac application that use bluetooth framework to connect to another device (not iOS device).
I'm actually showing a modal view showing the connected bluetooth device with IOBluetoothDeviceSelectorController and I get the user choice with [modal getResults] but I don't know how to initiate the connection with the selected device and I can't find a simple way to do it on the mac dev library.
is anyone know a tutorial or sample code that could help me advance in my project?
linkos
The Mac Developer Library has two sample Bluetooth projects; connecting to a health thermometer and connecting to a heart rate monitor. There is also video available of the Advanced Core Bluetooth WWDC 2012 session.

MAC IOS IPC: how to write P2P applications in MAC and IOS?

I'm looking for a way to communicate between a MAC application and an IOS one. Communication should be peer to peer, as IOS application shoul dbe able to send requests to MAC app and the other way around.
I'd be grateful for any hints you might have.
Cheers,
Andrea
Apple Bonjour is the way to go:
http://en.wikipedia.org/wiki/Bonjour_(software)
http://www.mobileorchard.com/tutorial-networking-and-bonjour-on-iphone/
Especially the sample project from the last link might be useful.

Developing an Application using C++ or Java For GPS Receivers

I have an idea for developing an app to be installed in a GPS receiver,this app should be able to communicate with a server.The connection could either be established through a cell phone network or internet or any suggestions.
Is this possible?
Can anyone help with suggestions?
Whats the best programming language would be more appropriate?
Any GPS devices that has this capability?
Thanks
It's very easy to do this, you can have a look at gpsd.
basically just com port communication and change NMEA formats, and send your info back to your server over the net.
I did my one with ruby under linux without addition library other than native.
For your question:
I would say any language you are comfortable will do. OS is not important, even on a ARM linux it should be okay.
Most gps should work, as long as they are NMEA formats. for more info you can have a look at http://gpsd.berlios.de/hardware.html