hnpa4184 / btstack

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

Creating an iPhone project #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Matthias,

congrats to the excellent work ! 
I was trying to build the tree and add it into a custom project but it seems 
I'm having a few 
unexpected troubles, thus a simple question arose: is btstack working on 
regular non-jailbroken 
iphones ?

I was trying to make a simple app pairing with a wiimote work (based on your 
example) but failed :( 
, if you have a working project example tree on that I'd love to see it ;) 
(i.e. the kind of tree where it 
would just need changing the code-signing certificate and build)

thanks !

Original issue reported on code.google.com by alexk...@gmail.com on 8 Aug 2009 at 11:57

GoogleCodeExporter commented 8 years ago
Hi Alexksso

sorry. I didn't see you tracker item (have to find the email notify function). I
never tried the BTstack with a non-jailbroken iPhone. I've heard that the 
"sandbox"
prevents the access to the Bluetooth chipset. I've heard it is not possible to 
access
the serial port of the dock connector either. again, sorry.

Original comment by matthias.ringwald@gmail.com on 14 Aug 2009 at 11:57

GoogleCodeExporter commented 8 years ago
Hi Matthias,

I'm new on this...I tryied to compile the code, but it says that "congif.h" is 
missing, what can i do?
Other question that i have, is how can i use the code as an iPhone App?

Thanks in advance,
Martin

Original comment by martinca...@gmail.com on 14 Aug 2009 at 4:53

GoogleCodeExporter commented 8 years ago
For an jailbreak command line version, run ./bootstrap then ./configure
--with-target=iphone and finally run make

after that you'll have a config.h and example/test and src/BTdaemon which have 
to be
signed before they can be run. First start the BTdaemon and then the example 
test.

Original comment by matthias.ringwald@gmail.com on 14 Aug 2009 at 9:29

GoogleCodeExporter commented 8 years ago
thanks for you answer matthias,  i am a little lost....i tried to run 
bootstrap.sh but it says 
"
aclocal: `configure.ac' or `configure.in' is required
autoconf: no input file
automake: `configure.ac' or `configure.in' is required
"

i need any special libraries and a specific version of the OS in the iphone to 
compile the code?

thanks again

Original comment by martinca...@gmail.com on 18 Aug 2009 at 3:56

GoogleCodeExporter commented 8 years ago
hi again. please post on the Google Group. 
Where do you do the compilation? The autotools project does not work on the 
iPhone
(yet). It works on a Mac with Apple's SDK installed.

Original comment by matthias.ringwald@gmail.com on 19 Aug 2009 at 9:53

GoogleCodeExporter commented 8 years ago

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