2378 Commits

Author SHA1 Message Date
matthias.ringwald
4da22db5dc respond to L2CAP ECHO_REQUEST and INFORMATION_REQUEST 2010-05-25 20:01:46 +00:00
matthias.ringwald
ddce1d8d00 set len in BTSTACK_EVENT_SYSTEM_BLUETOOTH_ENABLED correctly 2010-05-24 15:38:58 +00:00
matthias.ringwald
0e58dc4e0c killall BTServer to help Apple Bluetooth start up the next time 2010-05-24 15:09:06 +00:00
matthias.ringwald
db69bfd901 put iPad into deepsleep as power off doesn't work 2010-05-24 14:29:29 +00:00
matthias.ringwald
a83b7b0088 added hci_pin_code_request_negative_reply 2010-04-28 20:33:30 +00:00
matthias.ringwald
0d5a78db31 Refactor L2CAP data and event send 2010-04-05 22:47:52 +00:00
matthias.ringwald
037d6e4837 really unregister service 2010-03-25 19:19:17 +00:00
matthias.ringwald
8149d2c7c9 fix crash on app exit 2010-03-14 16:28:18 +00:00
matthias.ringwald
13939703e9 added master/slave role commands and events 2010-03-14 11:09:10 +00:00
matthias.ringwald
b35f641c7f clarify use of source_cid and dest_cid - use only for signal packets and use local_cid and remote_cid otherwise - fixes bug in incoming l2cap connection handling 2010-03-04 23:03:40 +00:00
matthias.ringwald
91f5bcb531 extract socket_connection_launchd_register_fd_array, support 2 sockets in launchd, work around malloc warning 2010-03-02 23:19:07 +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
504c9121df added bt_use_tcp and adapted bt_open 2010-02-28 21:45:22 +00:00
matthias.ringwald
34905c0dee added address and port to socket_connection_open_tcp 2010-02-28 21:39:54 +00:00
matthias.ringwald
913f4ccbaf added definition for bt_use_tcp() 2010-02-28 21:37:59 +00:00
matthias.ringwald
7856c8184a implement L2CAP packet recombination in hci.c using a max size L2CAP buffer per connection 2010-02-13 15:15:19 +00:00
matthias.ringwald
c1012e4687 need both current position and l2cap lenght 2010-02-13 15:14:01 +00:00
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