37 Commits

Author SHA1 Message Date
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
matthias.ringwald
dc369792cb use socket_connection also for client, drop duplicate code in BTstack.c 2009-07-22 21:31:35 +00:00
matthias.ringwald
70f86d379d renamed socket_server to socket_connection. it will be used by both client and server 2009-07-22 20:27:00 +00:00
matthias.ringwald
59cc82e457 prepare socket_server to be used by both client and server 2009-07-22 20:21:22 +00:00
matthias.ringwald
31452debc2 client/server: client cmd received, but crash during response 2009-07-16 22:04:11 +00:00
matthias.ringwald
8adf0dda45 work on btstack client/server commands, allow logging to stdout using HCI_DUMP_STDOUT 2009-07-16 20:12:42 +00:00
matthias.ringwald
37ac922291 remove test code from daemon and put into example/test.c - not working yet 2009-07-14 18:29:29 +00:00
matthias.ringwald
4918f63ce1 implemented basic linked list and used it for the run loop 2009-07-13 21:51:42 +00:00
matthias.ringwald
b2ae9e32ee fix bugs introduced yesterday 2009-07-12 15:33:07 +00:00
matthias.ringwald
899e4c5326 eliminate main.c in BTdaemon 2009-07-11 17:42:03 +00:00
matthias.ringwald
a8cd57edc5 added install-iphone target, removed Makefile.iphone 2009-07-11 10:37:48 +00:00
matthias.ringwald
9bf70ccba9 achitectural change: hci_transport implementations must add itself to the run loop 2009-07-09 18:49:43 +00:00
matthias.ringwald
6511fa645e started client/server implementation 2009-07-01 21:55:08 +00:00