62 Commits

Author SHA1 Message Date
matthias.ringwald
c6448b6742 inlined hci_transport_h4.h 2010-06-04 18:09:01 +00:00
matthias.ringwald
0d5a78db31 Refactor L2CAP data and event send 2010-04-05 22:47:52 +00:00
matthias.ringwald
46acae3723 extract socket_connection_create_launchd from unix part 2010-03-02 20:58:27 +00:00
matthias.ringwald
75a700aaf9 patch from iwatth to allow BTdaemon run as tcp socket server 2010-02-28 22:02:28 +00:00
matthias.ringwald
913f4ccbaf added definition for bt_use_tcp() 2010-02-28 21:37:59 +00:00
matthias.ringwald
e405ae81a6 l2cap incoming working 2010-01-26 20:49:02 +00:00
matthias.ringwald
1f7b95a184 dispatch l2cap commands 2010-01-25 20:25:20 +00:00
matthias.ringwald
9d9bbc01f5 implemented PSM management 2010-01-25 18:29:06 +00:00
matthias.ringwald
2033929e11 added read/write link supervision timeout 2010-01-24 21:57:30 +00:00
matthias.ringwald
2ed6235c61 added iPhone Bluetooth toggle functions 2010-01-09 18:25:30 +00:00
matthias.ringwald
1b0e3922ba added btstack_get_version 2010-01-09 11:01:23 +00:00
matthias.ringwald
438751df71 removed alternative commented code 2009-11-23 20:29:38 +00:00
matthias.ringwald
981eb02ec5 renamed timer_t to timer_source_t to avoid conflict with timer_t in /usr/include/time.h in Linux 2009-11-23 19:45:32 +00:00
matthias.ringwald
1713bcea3a prepend all source files with 'new BSD' copyright header 2009-10-29 20:25:42 +00:00
matthias.ringwald
afef42bd47 try to ignore SIGPIPE, shorter power off timeout 2009-10-25 21:43:04 +00:00
matthias.ringwald
b1cc843966 try to avoid crashing on closed socket 2009-10-25 19:47:59 +00:00
matthias.ringwald
fe798a54df don't omit 3 when counting to 6 2009-10-11 23:09:31 +00:00
matthias.ringwald
e29adc1159 add support for Cocoa CoreFoundation run loop - not fully implemented but usable by clients, use ms instead of s for run_loop_set_timer function 2009-10-07 20:17:19 +00:00
matthias.ringwald
5f9c9ba9c5 add printfs 2009-09-30 21:32:38 +00:00
matthias.ringwald
6ee849a7da clarify event for Bluetooth status bar icon 2009-09-30 20:37:28 +00:00
matthias.ringwald
b360b6ad92 remove BTSTACK_EVENT_WORKING. Use BTSTACK_EVENT_STATE with state == HCI_STATE_WORKING instead 2009-09-30 20:29:30 +00:00
matthias.ringwald
b48a17ffb3 add printfs for spring board icon debugging, disable HCI logging as default 2009-09-30 19:25:56 +00:00
matthias.ringwald
945627e442 removed internal functions from hci_cmds.h, more clean ups 2009-09-29 20:10:24 +00:00
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
942671929b use stderr for errors, stdout for log 2009-09-22 20:03:48 +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
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
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
555971d7f5 automatic turn off Bluetooth after 1 minutes idle 2009-08-09 20:18:34 +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
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
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
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