1088 Commits

Author SHA1 Message Date
matthias.ringwald
a8d66173c1 keep list of clients that requested Blueooth to be active, Bluetooth is on iff at least one client did request it. delay off by 10 seconds 2011-01-08 22:01:06 +00:00
matthias.ringwald
e1aafbfb72 use shorter Bluetooth timeout, use cocoa run loop if available 2011-01-07 22:21:25 +00:00
matthias.ringwald
d661ed1955 log message for power change 2011-01-07 22:20:37 +00:00
matthias.ringwald
cd1fcc0c4e fix bug in corefoundation timer setup: unix time vs. absolute time 2011-01-07 22:19:39 +00:00
matthias.ringwald
b375c84fc7 power down Bluetooth on sleep notifcation / turn on, if clients are connected 2011-01-07 21:34:50 +00:00
matthias.ringwald
720d0070fa power down Bluetooth on sleep notifcation / turn on, if clients are connected 2011-01-07 21:03:58 +00:00
matthias.ringwald
b546ac5469 handle transition for HCI_POWER_SLEEP and all HCI state transitions 2011-01-07 20:54:57 +00:00
matthias.ringwald
fe19fafb3a don't stop BTdaemon on power down/client disconnect 2011-01-07 20:34:53 +00:00
matthias.ringwald
15b09008ee store data of remote db on every change 2011-01-07 20:33:13 +00:00
matthias.ringwald
2e311c5b6d store DB on every change 2011-01-07 20:30:41 +00:00
matthias.ringwald
8d213e1a0d handle HCI_POWER_ON and HCI_POWER_OFF in existing 4 states 2011-01-07 19:36:05 +00:00
matthias.ringwald
c7e0c5f6bb stop all baseband connections on HCI_POWER_OFF 2011-01-06 23:45:57 +00:00
matthias.ringwald
15d7b8a815 introduce HCI states SLEEPING and FALLING_ASLEEP, introduce HCI power mode command SLEEP 2011-01-06 23:07:41 +00:00
matthias.ringwald
56a25c4cef don't enable power notification handling in SVN, work-around compile issue with 4.2 headers (fix for #110) 2011-01-06 21:17:32 +00:00
matthias.ringwald
f8315ac151 add experimental power management detection code 2010-12-24 00:22:04 +00:00
matthias.ringwald
b255bf8269 use CFRunLoopTimerContext for CFRunLoopTimerCreate 2010-12-24 00:19:22 +00:00
matthias.ringwald
ddda00fc84 assert timer is not removed before being added to run loop, deamon compatible with run_loop_cocoa 2010-12-23 20:21:21 +00:00
matthias.ringwald
3c09d3b365 correct CFTimer creation 2010-12-23 20:20:07 +00:00
matthias.ringwald
f70fee3346 added disabled debug messages 2010-12-23 19:37:30 +00:00
matthias.ringwald
7569e8c239 tidy code formatting 2010-12-23 19:35:47 +00:00
matthias.ringwald
2992c13168 allow to specify max nr of packets in hci_dump log 2010-12-05 22:22:46 +00:00
matthias.ringwald
32e5266308 force update of libstatusbar and MobileSubstrate 2010-11-25 18:20:19 +00:00
matthias.ringwald
2721ec8e76 remove duplicate condition 2010-11-22 21:06:31 +00:00
matthias.ringwald
9d3ca80191 updates todos with release notes 2010-11-22 20:27:10 +00:00
matthias.ringwald
0a18a8e91d assume remote side uses default mtu instead of minimum mtu for new l2cap connections 2010-11-22 19:52:07 +00:00
matthias.ringwald
9e62c3bd71 try kill BlueTool and BTServer if needed 2010-11-22 19:29:08 +00:00
matthias.ringwald
9ddb5534ef correct reporting of daemon timeouts 2010-11-22 17:33:51 +00:00
matthias.ringwald
a5fc9b71d1 use 1000 byte SDP L2CAP MTU, remove debug output 2010-11-22 17:33:33 +00:00
matthias.ringwald
fd39030d0f allow to receive packets with size == 0 2010-11-19 21:20:26 +00:00
matthias.ringwald
53443e19d1 fix docu for hci_switch_role command 2010-11-14 15:38:09 +00:00
matthias.ringwald
a3133f42e0 add stddef.h for NULL 2010-11-12 08:54:01 +00:00
matthias.ringwald
41b8398897 don't forget run_loop_cocoa.m in static library build 2010-11-11 08:47:21 +00:00
matthias.ringwald
d0ce639d5f use 8-bit lenth descriptor for de_add_data if possible 2010-11-09 22:38:36 +00:00
matthias.ringwald
e67ebb40cf collected todos 2010-11-08 21:38:52 +00:00
matthias.ringwald
2c61e0bcff support for random bd_addr to help with windows testing 2010-11-07 08:57:58 +00:00
matthias.ringwald
8c0e108c98 use CoreFoundation to store remote device DB, seems to work on iOS 2010-11-06 19:03:09 +00:00
matthias.ringwald
2139f61875 be more optimistic: if we cannot talk to SpringBoardAccess, assume system Bluetooth is off 2010-11-06 18:59:37 +00:00
matthias.ringwald
54e60893df use SDK 3.2 instead of 3.1.3 in example config 2010-11-05 18:49:00 +00:00
matthias.ringwald
10f75d5fcc fixed the problems with pkg-config not found or missing 2010-11-05 18:47:15 +00:00
matthias.ringwald
df596220e2 provide pkg.m4 to avoid configure error when pkg-config is not installed but also not needed, no aclocal.m4 in svn 2010-11-05 18:44:15 +00:00
matthias.ringwald
110ee25480 use gcc 4.2.1 per default 2010-11-05 18:43:02 +00:00
matthias.ringwald
e3b6fe7eb1 use extern 'c' for more headers used by embedded port 2010-11-01 17:50:06 +00:00
matthias.ringwald
ac34d9d3e9 added timer handling for cocoa run loop - thanks to todd 2010-10-31 22:14:29 +00:00
matthias.ringwald
80ce979a27 don't start SDP server without HAVE_SDP 2010-10-02 15:40:31 +00:00
matthias.ringwald
d527d738c2 honor USE_POSIX_RUN_LOOP 2010-10-02 10:35:58 +00:00
matthias.ringwald
06c09d29a1 Edited wiki page RFCOMM through web user interface. 2010-10-02 07:49:51 +00:00
matthias.ringwald
5992dcbbf7 use BTstackManager 2010-09-28 17:37:40 +00:00
matthias.ringwald
98c5c7e5f3 use relative paths to refere to BTstack headers&lib in Xcode projects 2010-09-27 20:54:51 +00:00
matthias.ringwald
e02dd06a23 updated TODO.txt 2010-09-24 21:15:09 +00:00
matthias.ringwald
ce80483a91 actually query Apple Bluetooth status 2010-09-24 21:01:38 +00:00