490 Commits

Author SHA1 Message Date
matthias.ringwald
80d52d6be7 clean up command names and headers 2009-09-29 19:40:55 +00:00
matthias.ringwald
23053b9e43 organize headers: e.g. use <btstack/btstack.h> instead of "btstack.h" 2009-09-28 21:19:05 +00:00
matthias.ringwald
d416da4205 added crc-8 functions from BTnut code needed for RFCOMM 2009-09-24 19:36:52 +00:00
matthias.ringwald
7fdefb05bf build BTstack libraries, create Framework 2009-09-22 22:31:58 +00:00
matthias.ringwald
942671929b use stderr for errors, stdout for log 2009-09-22 20:03:48 +00:00
matthias.ringwald
56c253c9c9 use SpringBoardAccess extension to signal Bluetooth state 2009-09-20 15:49:42 +00:00
matthias.ringwald
ac2e07f8dd added quick test if Bluetooh UART can be opened before running BlueTool. Before Apple's Bluetooth did turn back on after it was turned off in the Settings 2009-09-13 21:03:22 +00:00
matthias.ringwald
038bc64c95 check BlueTool for error codes, emit HCI_EVENT_POWERON_FAILED event 2009-09-13 20:42:43 +00:00
matthias.ringwald
ba000abd41 reorganized ToDos 2009-09-02 09:19:52 +00:00
matthias.ringwald
b91e361c63 only quit BTdaemon when (re)started by launchd 2009-08-30 18:17:16 +00:00
matthias.ringwald
19c019b4eb provide copy of launch.h 2009-08-30 16:22:04 +00:00
matthias.ringwald
4460343e6f replace asl calls by printf for now 2009-08-30 15:57:52 +00:00
matthias.ringwald
d584792521 launchd startup basically working 2009-08-30 15:19:53 +00:00
matthias.ringwald
41851cf186 working on launchd integration - not working yet 2009-08-28 21:55:59 +00:00
matthias.ringwald
cc6abc3278 added --enable-launchd configure flag 2009-08-28 20:37:48 +00:00
matthias.ringwald
9edc874259 added capture mode to get all ACL packets from client app, started BTstack Man-in-the-Middle implementation 2009-08-24 21:56:12 +00:00
matthias.ringwald
c1f4fa9737 work on launchd plist 2009-08-20 22:54:29 +00:00
matthias.ringwald
d02d25349c updated plan 2009-08-19 21:31:40 +00:00
matthias.ringwald
e5f8862c28 created launchd plist for automatic start of BTdaemon on Mac & iPhone 2009-08-19 21:06:05 +00:00
matthias.ringwald
1c2ee57428 imlement socket connection over UNIX domain sockets 2009-08-19 20:09:30 +00:00
matthias.ringwald
5390b7fce0 tried to set Bluetooth Status Bar Icon from command daemon, but does not work - deferred for now 2009-08-19 19:06:47 +00:00
matthias.ringwald
3a4b7e1270 fixed compilation of platform_iphone.m 2009-08-16 22:04:31 +00:00
matthias.ringwald
71bc26330c disabled platform_iphone.m for now as make fails for some reason 2009-08-16 22:00:58 +00:00
matthias.ringwald
ac3013478d start collecting iPhone specific stuff in platform_iphone.m 2009-08-15 21:32:06 +00:00
matthias.ringwald
43bfb1bd9c trace Bluetooth status in daemon 2009-08-15 21:31:23 +00:00
matthias.ringwald
623c593c7d added handler to shutdown on CTRL-C 2009-08-15 19:52:46 +00:00
matthias.ringwald
fea43cd044 support Broadcom Bluetooth chipset in iPhone 3GS 2009-08-11 22:27:23 +00:00
matthias.ringwald
555971d7f5 automatic turn off Bluetooth after 1 minutes idle 2009-08-09 20:18:34 +00:00
matthias.ringwald
ee091cf1fd automatic HCI link disconnect 2009-08-09 18:39:53 +00:00
matthias.ringwald
c52bf64daa if client conenctions breaks, close all L2CAP channels used by client 2009-08-09 17:17:00 +00:00
matthias.ringwald
436a4afbf2 implemented timer handling in run loop 2009-08-09 13:49:02 +00:00
matthias.ringwald
7b22b9bc7d removed ready paramter from data_source callbacks, added timer management functions to run loop 2009-08-09 13:00:09 +00:00
matthias.ringwald
1b1784d0b0 implemented HCI disconnect command 2009-08-09 11:14:35 +00:00
matthias.ringwald
27a923d075 emit l2cap disconnect events when basedband connection closes 2009-08-08 21:55:55 +00:00
matthias.ringwald
f12adbd6cc only execute POWER_MODE commands when in the right HCI_STATE 2009-08-08 21:39:58 +00:00
matthias.ringwald
f62db1e31a implemented l2cap_disconnect command 2009-08-08 21:29:38 +00:00
matthias.ringwald
dc32489f4e fix l2cap data sending - WiiMote now reports acceleration data 2009-08-02 13:32:55 +00:00
matthias.ringwald
c8e4258af8 improve hci connection handling -> suppress create connection requests for connections already open and just emit connection complete event 2009-08-02 13:20:32 +00:00
matthias.ringwald
fcadd0ca34 streamline event forwarding in BTdaemon stack 2009-08-02 10:51:41 +00:00
matthias.ringwald
1e6aba4769 moved l2cap state machine to l2cap.c. added 'channel' parameter to packet header for socket communications. removed unused functions. dispatch btstack commands in daemon.c. renamed non-HCI commands 2009-07-31 21:41:15 +00:00
matthias.ringwald
31ce42f9cd add l2cap_send function. use source_cid to identify channels on client - dest_cid is choosen by remote side and may not be unique on client 2009-07-30 20:14:54 +00:00
matthias.ringwald
bb53b2914c fix l2cap signaling command dispatching 2009-07-30 19:40:06 +00:00
matthias.ringwald
629ab2647c try WiiMote - not working yet 2009-07-29 21:49:53 +00:00
matthias.ringwald
87ea0ea477 implemented minimal outgoing-only L2CAP state machine, BT HID connection in test.c working 2009-07-29 21:06:04 +00:00
matthias.ringwald
da269baadb start with l2cap implementation 2009-07-28 21:04:16 +00:00
matthias.ringwald
ee8bf225e1 implement power control by client (only single user mode yet) with hci_set_power_mode command 2009-07-24 21:37:45 +00:00
matthias.ringwald
fe1ed1b8b6 keep track of HCI connections 2009-07-24 21:13:53 +00:00
matthias.ringwald
b77926b5ca fix ACL send 2009-07-24 21:13:25 +00:00
matthias.ringwald
06b35ec001 added functions to get connectinon_t for a given connection handle or a bd_addr 2009-07-24 20:17:46 +00:00
matthias.ringwald
95cbd9471c extract l2cap signaling code into l2cap_signaling 2009-07-23 21:55:36 +00:00