70 Commits

Author SHA1 Message Date
matthias.ringwald
3c4d4b9093 support for prefsbundle, bug fixes, other stuff 2011-04-30 20:11:20 +00:00
matthias.ringwald
574e07e180 list hci_discoverable_control 2011-01-30 17:06:28 +00:00
matthias.ringwald
381fbed89a add, track, and handle btstack_set_disoverable 2011-01-10 21:11:58 +00:00
matthias.ringwald
27d86fbbd8 added DAEMON_EVENT_CONNECTION_OPENED 2011-01-09 14:46:59 +00:00
matthias.ringwald
e3b6fe7eb1 use extern 'c' for more headers used by embedded port 2010-11-01 17:50:06 +00:00
matthias.ringwald
5250fb9ea0 provide access to size of acl buffers in Bluetooth module 2010-09-03 20:17:04 +00:00
matthias.ringwald
627c2f4552 define BTSTACK_EVENT_REMOTE_NAME_CACHED, and implement event emit code 2010-09-01 21:25:40 +00:00
matthias.ringwald
404843c191 added hci_close() that trigger remote device db close, added remote device db parameter to hci_init(), implemented NSUserDefaults backed link key storage 2010-08-30 20:10:51 +00:00
matthias.ringwald
c12e46e766 drop link key only on authentication error 2010-08-30 19:05:14 +00:00
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
80ca58a00d keep baseband connection during authentication 2010-08-26 20:26:48 +00:00
matthias.ringwald
7fde4af91d keep track of authentication commands and events 2010-08-26 20:12:05 +00:00
matthias.ringwald
15470d2718 allow specify MTU for outgoing l2cap connections (was 150 before) 2010-08-10 20:43:55 +00:00
matthias.ringwald
df33c7a6dc add const to hci_cmd_t for bt_send_cmd, too. Add C++ link protection to public headers 2010-08-08 18:17:48 +00:00
matthias.ringwald
998906cd83 track number of outgoing packets in BT module 2010-07-28 19:12:39 +00:00
matthias.ringwald
56cf178b4d keep track of ACL packets in controller 2010-07-25 15:51:03 +00:00
matthias.ringwald
e2edc0c398 read buffer size on hci init 2010-07-25 15:11:33 +00:00
matthias.ringwald
3ba22b71f3 use buffers of size 1021 to fit 3-DH5 ACL packets 2010-07-25 14:34:10 +00:00
matthias.ringwald
11c41d51ae use buffers of size 1021 to fit 3-DH5 ACL packets, check buffer for SDP responses 2010-07-25 12:28:23 +00:00
matthias.ringwald
2718e2e7a1 use single packet handler per protocol layer: hci 2010-07-18 16:30:16 +00:00
matthias.ringwald
06d7e47ea1 add sdp_register_service_record, sdp_unregister_service_record commands 2010-06-12 19:04:34 +00:00
matthias.ringwald
c1012e4687 need both current position and l2cap lenght 2010-02-13 15:14:01 +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
645658c9de added non-working l2cap_handle_connection_request 2010-01-25 22:22:55 +00:00
matthias.ringwald
116ee617d2 added cmds and events for incoming connections 2010-01-25 18:49:31 +00:00
matthias.ringwald
d59f499a58 also provide OGF for Link Policy commands 2010-01-23 19:00:36 +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
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
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
038bc64c95 check BlueTool for error codes, emit HCI_EVENT_POWERON_FAILED event 2009-09-13 20:42:43 +00:00
matthias.ringwald
43bfb1bd9c trace Bluetooth status in daemon 2009-08-15 21:31:23 +00:00
matthias.ringwald
ee091cf1fd automatic HCI link disconnect 2009-08-09 18:39:53 +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
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
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
06b35ec001 added functions to get connectinon_t for a given connection handle or a bd_addr 2009-07-24 20:17:46 +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
b9fa6cb54b use casts also for 16-bit values 2009-07-18 08:06:03 +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
1cd208ad37 untested code for BTstack lib connection to BTdaemon 2009-07-15 22:12:54 +00:00
matthias.ringwald
498571813b prepare socket_server and hci for client/server use 2009-07-13 22:47:32 +00:00
matthias.ringwald
bd67ef2f9d add more HCI commands 2009-07-01 20:56:27 +00:00
matthias.ringwald
f432a6ddd9 adde hci_write_scan_enable and hci_accept_connection_request 2009-06-14 21:48:08 +00:00
matthias.ringwald
e521ef4042 added hci_delete_stored_link_key command 2009-06-08 21:27:52 +00:00