3460 Commits

Author SHA1 Message Date
matthias.ringwald
2b3c6c9bc6 add missing include 2010-02-13 15:13:07 +00:00
matthias.ringwald
d55db49ea2 add buffer to hci_connection_t to allow for ACL recombination 2010-02-13 10:49:00 +00:00
matthias.ringwald
01d66a27a2 try to make cocoa run loop more robust 2010-02-09 21:34:53 +00:00
matthias.ringwald
2289ec97a0 also log internal l2cap events 2010-02-09 21:33:35 +00:00
matthias.ringwald
1c4badbbca increase buffer for incomning events/acl packets. fixes crash on remote name complete event with max name lenght 2010-01-28 07:39:30 +00:00
matthias.ringwald
e405ae81a6 l2cap incoming working 2010-01-26 20:49:02 +00:00
matthias.ringwald
169f8b289d auto-accept incoming l2cap 2010-01-26 18:28:21 +00:00
matthias.ringwald
645658c9de added non-working l2cap_handle_connection_request 2010-01-25 22:22:55 +00:00
matthias.ringwald
37eaa4cf13 baseband connection accepted 2010-01-25 20:53:43 +00:00
matthias.ringwald
1f7b95a184 dispatch l2cap commands 2010-01-25 20:25:20 +00:00
matthias.ringwald
116ee617d2 added cmds and events for incoming connections 2010-01-25 18:49:31 +00:00
matthias.ringwald
9d9bbc01f5 implemented PSM management 2010-01-25 18:29:06 +00:00
matthias.ringwald
22cc1a0ca7 correct opcode for write link supervision timeout 2010-01-24 22:31:09 +00:00
matthias.ringwald
2033929e11 added read/write link supervision timeout 2010-01-24 21:57:30 +00:00
matthias.ringwald
23bf349214 use autorelease pool when calling bluetooth manager 2010-01-23 22:43:42 +00:00
matthias.ringwald
d59f499a58 also provide OGF for Link Policy commands 2010-01-23 19:00:36 +00:00
matthias.ringwald
96f7db3e35 added some hci link policy commands 2010-01-23 18:26:56 +00:00
matthias.ringwald
21113242b1 fix compile for posix platforms 2010-01-09 21:27:47 +00:00
matthias.ringwald
2ed6235c61 added iPhone Bluetooth toggle functions 2010-01-09 18:25:30 +00:00
matthias.ringwald
369d79a9c1 rename bt_iphone_control.c to .m to prepare for BluetoothManager objc code 2010-01-09 11:35:30 +00:00
matthias.ringwald
1b0e3922ba added btstack_get_version 2010-01-09 11:01:23 +00:00
matthias.ringwald
19b25e5f75 added script to create version.h 2010-01-09 10:19:43 +00:00
matthias.ringwald
76ca99b0d3 ignore invalid packet type identifier 2010-01-09 00:40:01 +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
af54460952 support for hci_link_key_request_reply 2009-12-12 20:21:18 +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
b448a0e767 handle connection complete with error in HCI and L2CAP 2009-12-05 17:29:51 +00:00
matthias.ringwald
d6f03c5df6 in capturing mode: don't disconnect when no L2CAP channel is open, don't process packets 2009-12-03 11:56:39 +00:00
matthias.ringwald
84836b654b handle L2CAP DISCONNECT REQUEST 2009-12-02 20:07:41 +00:00
matthias.ringwald
b0bb5abe45 added hci_authentication_requested 2009-11-28 21:45:21 +00:00
matthias.ringwald
5a67bd4a55 handle L2CAP configure request while waiting for configure request response 2009-11-28 15:16:29 +00:00
matthias.ringwald
438751df71 removed alternative commented code 2009-11-23 20:29:38 +00:00
matthias.ringwald
d1c3f5e5b0 provide correct linker flags for shared library on non-darwin systems, e.g., linux 2009-11-23 20:28:00 +00:00
matthias.ringwald
6560583654 use run_loop_cocoa.m only on Darwin systems or when compiling for iPhone 2009-11-23 19:56:28 +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
c21e623905 fix timer handling in posix run loop 2009-11-05 22:26:43 +00:00
matthias.ringwald
e5304ee6d1 fix compare of null pointer timers 2009-11-05 21:06:19 +00:00
matthias.ringwald
1713bcea3a prepend all source files with 'new BSD' copyright header 2009-10-29 20:25:42 +00:00
matthias.ringwald
6222af090d store run loop not socket in cocoa run loops 2009-10-28 22:16:25 +00:00
matthias.ringwald
c8164b0280 implement run_loop_remove for cocoa 2009-10-28 21:51:56 +00:00
matthias.ringwald
bfea266536 fix run loop for outdated timers 2009-10-28 21:25:51 +00:00
matthias.ringwald
afef42bd47 try to ignore SIGPIPE, shorter power off timeout 2009-10-25 21:43:04 +00:00
matthias.ringwald
583942ad47 add linebreak after debug statement 2009-10-25 20:00:31 +00:00
matthias.ringwald
b1cc843966 try to avoid crashing on closed socket 2009-10-25 19:47:59 +00:00
matthias.ringwald
141679a411 correct address of result field in CONNECTION_RESPONSE (really) 2009-10-23 21:38:30 +00:00
matthias.ringwald
cd56f93151 correct address of result field in CONNECTION_RESPONSE 2009-10-23 21:29:19 +00:00
matthias.ringwald
38e5900eda treat L2CAP CONNECTION_RESPONSE with result = pending as error, just wait 2009-10-23 16:39:31 +00:00
matthias.ringwald
c0557808b3 return old packet handler 2009-10-22 20:01:51 +00:00
matthias.ringwald
452683d08c use typedef for callback handler 2009-10-22 20:00:10 +00:00
matthias.ringwald
f32b992e39 map l2cap errors to general status code 2009-10-21 21:12:51 +00:00