Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BTStack as a library/Framework #3

Open
GoogleCodeExporter opened this issue Dec 10, 2015 · 13 comments
Open

BTStack as a library/Framework #3

GoogleCodeExporter opened this issue Dec 10, 2015 · 13 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Alright, sounds like a plan.

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

Alright, I'll check it out

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

@GoogleCodeExporter
Copy link
Author

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

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

how's it going?

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant