What steps will reproduce the problem? 1.following the steps on the getting started page 2.make package to produce an install package 3.download the package to the iphone and install
BTdaemon deos not run. When I try to run from the command line I cannot connect using the test app.
When I donwload the latest available version using Cydia the stack and executable work, but I build the same version/revision 1715 myself then I it will not run. I am using Code 4.4.1, I attached config log and also log file from the iphone.
- hci_dump.pklg 623
Comment #1
Posted on Mar 15, 2013 by Swift Oxhi. I've provided new build files based on theos but didn't update the GettingStarted yet.
Please install BTstack from Cydia. Then run ./config-iphone.sh. Now, you can go into the examples folder and just run make. The generated binaries are already pseudo-signed with ldid if you have it in your path.
Comment #2
Posted on Mar 16, 2013 by Helpful BearHi Matthias , danke or thank you for the prompt reply. I tried what you suggested but get another error that it cannot find the config.h which in linked to config-iphone.h
Compiling inquiry.c... In file included from ../include/btstack/btstack.h:44, from inquiry.c:43: ../include/btstack/run_loop.h:40:20: error: config.h: No such file or directory make[2]: * [obj/inquiry.c.509dc8c0.o] Error 1 make[1]: * [internal-tool-all_] Error 2 make: * [inquiry.all.tool.variables] Error 2
thanks
Comment #3
Posted on Mar 16, 2013 by Swift Oxsorry, forgot to add that to svn. I've added it just now.
Comment #4
Posted on Mar 19, 2013 by Helpful Bearthanks again, now I get an error when "Linking bundle BTstack...", I think you Makefile in the directory "PrefsBundle" is incorrect:
I think the wrong the line is BTstack_LDFLAGS = -L../src -lBTstack
and should be BTstack_LDFLAGS = -L../src/obj -lBTstack
because you move the the applications and object files into the obj directory.
it then builds
Comment #5
Posted on Mar 19, 2013 by Swift OxAbsolutely right. I've committed this fix, too.
Please note that the SVN version lacks the fixes for iOS 6 (which I've omitted on purpose).
Comment #6
Posted on Mar 19, 2013 by Helpful BearThanks Mathias for information. Would it be possible to get the iOS 6 changes?
Comment #7
Posted on Mar 19, 2013 by Swift OxIt might. Please write me an email telling me about your project. matthias.ringwald@gmail.com
Status: Fixed
Labels:
Type-Defect
Priority-Medium