Closed GoogleCodeExporter closed 8 years ago
hi. I recommend SDK 3.0 to compile BTstack and/or build JB apps that use it.
AFAIK it builds against SDK 4.0 with the syntax you used in configure. I'll be
happy to commit fixes if you figure out why it doesn't build on 4.1 -
personally, I still didn't install Xcode 4 or SDK 4 :)
as for you application, opening a connection to printer should be easy, but it
then depends on the actual protocol being used. Think of opening a Bluetooth
(L2CAP) connection as a TCP-Socket. Some Bluetooth printers use OBEX to send
them files, I'm working on OBEX integration for iOS which we hope to release
soon. It works e.g. with the Polaroid PoGo printer.
For developer questions, please join the BTstack Google Group.
Original comment by matthias.ringwald@gmail.com
on 24 Sep 2010 at 8:53
Found it - in bt_control_iphone.m change includes around line 65-ish to undef
the symbols as shown below.
#include <CoreFoundation/CoreFoundation.h>
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_2_0
#undef NSEC_PER_USEC
#undef USEC_PER_SEC
#undef NSEC_PER_SEC
#include <mach/mach.h>
and it builds against 4.1
Original comment by toddvbla...@gmail.com
on 24 Sep 2010 at 1:27
thanks for the fix. r945 adds your fix.
Original comment by matthias.ringwald@gmail.com
on 24 Sep 2010 at 7:23
Original issue reported on code.google.com by
toddvbla...@gmail.com
on 24 Sep 2010 at 8:40