hnpa4184 / btstack

Automatically exported from code.google.com/p/btstack
0 stars 0 forks source link

BTStack as a library/Framework #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
For a project I'm working on, it would be nicer if I could use BTStack as a 
library/framework for my 
iPhone, any way to accomplish this yet?
If not, I'm willing to work a bit to get it to compile in to a 
library/framework, so I don't have to 
include the btstack sources in to my project

Original issue reported on code.google.com by Sonicadvance1@gmail.com on 31 Aug 2009 at 11:56

GoogleCodeExporter commented 8 years ago
Hi Sonic

Good idea.

For the WiiMote demo, I've setup the BTstack and the WiiMote folder in the same
directory and used relative links to the necessary source files and headers in 
the
WiiMote project. That should be fine for now, but yes, we should provide 
something
which can be easily integrated.

As most people cross-compile for the iPhone, a framework that you can place in 
your
developer folder or the iPhone toolchain will be fine. If you like you can 
build a
static library (using the ar tool, it merely put all object files into an 
archive).
In general, a dynamic library is nicer/cleaner. The autotool can build 
libraries, we
might need the libtool. I'll give it a quick try if it works without libtool 
and tell. 

And please join the BTstack-Dev mailing list (a.k.a. Developer Forum Group).

Matthias

Original comment by matthias.ringwald@gmail.com on 1 Sep 2009 at 5:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Alright, sounds like a plan.

Original comment by Sonicadvance1@gmail.com on 1 Sep 2009 at 6:34

GoogleCodeExporter commented 8 years ago
Hi Sonic. I've changed the build system to create libraries and a mini 
framework. Can
you take a look, if this is usable for you?

Original comment by matthias.ringwald@gmail.com on 22 Sep 2009 at 10:32

GoogleCodeExporter commented 8 years ago
Alright, I'll check it out

Original comment by Sonicadvance1@gmail.com on 22 Sep 2009 at 10:57

GoogleCodeExporter commented 8 years ago
Hi Sonic. I'm wondering if a Framework makes sense for the iPhone. After all, it
would not contain any include files nor additional resources (at least so far). 
I've
discarded the mini framework build script. However, I've set the install name 
on the
library, so it will be found by an app that links against it. Any insights from 
your
side?

Original comment by matthias.ringwald@gmail.com on 28 Sep 2009 at 6:21

GoogleCodeExporter commented 8 years ago

Original comment by matthias.ringwald@gmail.com on 28 Sep 2009 at 6:22

GoogleCodeExporter commented 8 years ago
hi... i've started a BTstackManger in CocoaTouch that can be easily used from 
new apps

Original comment by matthias.ringwald@gmail.com on 25 Feb 2010 at 6:58

GoogleCodeExporter commented 8 years ago
how's it going?

Original comment by snk0826...@gmail.com on 20 Oct 2010 at 3:13

GoogleCodeExporter commented 8 years ago
Hi Matthias. Is the BTStack library available separately? I would like to use 
the same on a project that has to communicate with ad-hoc medical devices for 
data transfer. Cheers.

Original comment by nds.anan...@gmail.com on 12 May 2011 at 8:03

GoogleCodeExporter commented 8 years ago
If you install BTstack from Cydia, you'll fine libBTstack.dylib in 
/usr/local/lib on your device

Original comment by matthias.ringwald@gmail.com on 12 May 2011 at 8:08

GoogleCodeExporter commented 8 years ago
is there any other way to download  libBTstack.dylib ? its missing in 
cocoatouch project 

Original comment by aijinj...@gmail.com on 14 Jul 2012 at 4:15

GoogleCodeExporter commented 8 years ago
It is not missing from the CocoaTouch project. The idea is that you compile it 
using the provided autotools, see GettingStarted. You can also use 
/usr/local/lib/libBTstack.dylib from your device after installing BTstack from 
Cydia.  

Original comment by matthias.ringwald@gmail.com on 18 Jul 2012 at 2:07