1005 Commits

Author SHA1 Message Date
matthias.ringwald
381fbed89a add, track, and handle btstack_set_disoverable 2011-01-10 21:11:58 +00:00
matthias.ringwald
bc2af4fc4b added btstack_set_discoverable command 2011-01-10 20:29:29 +00:00
matthias.ringwald
98199a5690 updated state 2011-01-09 22:22:48 +00:00
matthias.ringwald
8dd2fb2c4b add compile flag for delayed power off 2011-01-09 22:22:12 +00:00
matthias.ringwald
37d9a96df4 store CFSocket in data_source_t, too, invalidate CFSocket and CFTimer on remove 2011-01-09 22:21:18 +00:00
matthias.ringwald
7382b6a1c5 group better 2011-01-09 22:20:21 +00:00
matthias.ringwald
5d27b96dbd don't use user_data field of data_source 2011-01-09 22:19:53 +00:00
matthias.ringwald
3144bce463 try using BlueTool wake on/off 2011-01-09 16:19:42 +00:00
matthias.ringwald
15ae62c252 try using BlueTool wake on/off 2011-01-09 16:18:56 +00:00
matthias.ringwald
554582176e add wake() to bt_control.h: OFF<->ON<->SLEEP (SLEEP -> OFF is possible) 2011-01-09 14:53:57 +00:00
matthias.ringwald
ca7336dc02 provide per client information: connection, power mode 2011-01-09 14:48:03 +00:00
matthias.ringwald
edcbc4405e emit DAEMON_EVENT_CONNECTION_OPENED 2011-01-09 14:47:16 +00:00
matthias.ringwald
27d86fbbd8 added DAEMON_EVENT_CONNECTION_OPENED 2011-01-09 14:46:59 +00:00
matthias.ringwald
02b8463e29 udpated todos 2011-01-08 23:03:12 +00:00
matthias.ringwald
72ea52390f call sleep() instead of off() 2011-01-08 23:03:00 +00:00
matthias.ringwald
8ebcfd8dd8 move IOKIT power event code to bt_control_iphone.m 2011-01-08 22:45:27 +00:00
matthias.ringwald
0df774e2ac add enum POWER_EVENTS {POWER_WILL_SLEEP, POWER_WILL_WAKE_UP), add register_for_power_management_notifictations( void (*callback)(POWER_EVENTS event)); to bt_control.h 2011-01-08 22:12:03 +00:00
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