Commit Graph

56 Commits

Author SHA1 Message Date
matthias.ringwald
29d5309818 replace link_key_db_t with a remote_device_db_t that also holds cached remote names 2010-08-30 18:44:50 +00:00
matthias.ringwald
63dfdee5e8 add support for link key db 2010-08-30 17:42:23 +00:00
matthias.ringwald
91b7413008 Use 5 sec LinkSupervisionTimeout 2010-04-11 15:12:57 +00:00
matthias.ringwald
4e32e18a96 updated todo + new project files 2010-03-02 23:24:11 +00:00
matthias.ringwald
de4536005f added BTDiscoveryViewController as a cleaner implementation of BTInquiryViewController, split BTstackManagerDelegate into BTstackManagerDelegate and BTstackManagerListener 2010-02-21 19:13:34 +00:00
matthias.ringwald
fb6dae1e84 BTstackManager support device discovery - names are not cached yet 2010-02-21 13:57:48 +00:00
matthias.ringwald
90d249c14f update todo+project file 2010-02-13 15:15:45 +00:00
matthias.ringwald
1f7b95a184 dispatch l2cap commands 2010-01-25 20:25:20 +00:00
matthias.ringwald
71faa68325 use local include files 2010-01-23 18:28:01 +00:00
matthias.ringwald
481a2f9791 make BTdaemon compile again with XCode 2010-01-21 22:21:18 +00:00
matthias.ringwald
19b25e5f75 added script to create version.h 2010-01-09 10:19:43 +00:00
matthias.ringwald
afde0c529f implemented create connection cancel command and hande it in l2cap 2009-12-14 22:42:14 +00:00
matthias.ringwald
6772a24cc3 don't send hci_link_key_request_negative_reply on HCI_EVENT_LINK_KEY_REQUEST automatically 2009-12-05 18:55:41 +00:00
matthias.ringwald
5c1cf5ec46 provide Disconnect button in inquiry view, allow to restart inquiry when not connected 2009-11-15 11:00:41 +00:00
matthias.ringwald
a836342cf7 allow to cancel both an ongoing inquiry or remote name request 2009-11-12 21:30:18 +00:00
matthias.ringwald
e5304ee6d1 fix compare of null pointer timers 2009-11-05 21:06:19 +00:00
matthias.ringwald
790e3b27d6 usb on mac kind of working (l2cap connection opended but nothing happens after that 2009-10-18 20:49:27 +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
50a0f00727 rename run_loop.c to run_loop_posix.c and add run_loop_cocoa.m 2009-10-01 19:42:45 +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
53bccd4f19 set install_name for library, don't build Framework 2009-09-28 18:18:03 +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
a376a19bd1 SpringBoardAcess extension working 2009-09-20 15:07:11 +00:00
matthias.ringwald
eedbedf604 create dummy SpringBoardAccess MobileSubstrate extension when configured for iPhone 2009-09-15 21:11:28 +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
e5f8862c28 created launchd plist for automatic start of BTdaemon on Mac & iPhone 2009-08-19 21:06:05 +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
43bfb1bd9c trace Bluetooth status in daemon 2009-08-15 21:31:23 +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
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
95cbd9471c extract l2cap signaling code into l2cap_signaling 2009-07-23 21:55:36 +00:00
matthias.ringwald
ba681a6c12 extract utility functions into utils.c 2009-07-23 21:43:37 +00:00
matthias.ringwald
d8905019be extract code for HCI Command packet construction into hci_cmds.c 2009-07-23 21:25:39 +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
0af41d30f6 fixing bugs created while copy \& paste of code without event a single test. example connects, does paring and gets stuck in l2cap statemachine 2009-07-20 21:39:43 +00:00
matthias.ringwald
31452debc2 client/server: client cmd received, but crash during response 2009-07-16 22:04:11 +00:00
matthias.ringwald
1cd208ad37 untested code for BTstack lib connection to BTdaemon 2009-07-15 22:12:54 +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
498d027682 eliminate main.c in BTdaemon 2009-07-11 17:51:09 +00:00
matthias.ringwald
899e4c5326 eliminate main.c in BTdaemon 2009-07-11 17:42:03 +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
8f29b25e4b add XCode settings for libusb-1.0 in /usr/local/ 2009-07-06 16:37:53 +00:00
matthias.ringwald
6511fa645e started client/server implementation 2009-07-01 21:55:08 +00:00
matthias.ringwald
7596e361ff implemented run_loop compatible socket_server 2009-06-06 21:10:20 +00:00
matthias.ringwald
8d4343fb95 start implementing generic run_loop 2009-06-06 17:43:50 +00:00
matthias.ringwald
7966267251 add simple hci logger compatible to BlueZ's hcidump 2009-05-26 22:50:30 +00:00