--
You received this message because you are subscribed to the Google Groups "btstack-dev" group.
To post to this group, send email to btsta...@googlegroups.com.
To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/btstack-dev?hl=en.
I guess I should create a wiki page on how to use BTstack for iOS apps using Xcode or theos.
BTstackManager isn't complete (it doesn't cover creating connections), but it doesn't need to be modified either. I'm using it the svn version in both my apps and daemons.
While you use BTstackManager to boot up and do inquries, you can still use bt_send_cmd to create the RFCOMM connection and bt_send_rfcomm to send data. The events and data will arrive in the btstackManager:handlePacketWithType:forChannel:andData:withLen: of your BTstackManagerDelegate
After you get the activatedBTstackManager: callback, you can open the first RFCOMM connection right away (or even start all of them in parallel - BTstack is supposed to handle that while I didn't actually try that).
Best
Matthias
BTstack clients are supposed to link against libBTstack.dylib. This is true for both command line examples as well as CocoaTouch application.
Please have a look at btstack/CocoaTouch/BTstackCocoa.xcodeproj
It links against libBTstack.dylib and shows a discovery view.
Best
Matthias