Commit Graph

110 Commits

Author SHA1 Message Date
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
fe35119d8a mark hci cmd templates as const to save RAM 2010-08-08 18:10:45 +00:00
matthias.ringwald
866d626ba4 add bzero for embedded targets 2010-08-03 19:57:39 +00:00
matthias.ringwald
6a38fc08d9 added linked_list_empty 2010-07-29 19:46:12 +00:00
matthias.ringwald
6218e6f12b add counters for flow control, channel credits event, return -1 if no space in BT module 2010-07-29 19:35:34 +00:00
matthias.ringwald
7cd486c7a1 added linked_list_add_tail to append at end of list 2010-07-29 18:23:08 +00:00
matthias.ringwald
e2edc0c398 read buffer size on hci init 2010-07-25 15:11:33 +00:00
matthias.ringwald
f675678295 removed data_source flags again, tidy source code 2010-06-29 21:59:24 +00:00
matthias.ringwald
2cf3483ca6 added data_source flags 2010-06-29 21:06:14 +00:00
matthias.ringwald
88bc6ea8e4 moved private parts of run_loop.h into run_loop_private.h 2010-06-29 20:58:45 +00:00
matthias.ringwald
73e81a1188 universal SDP attribute IDs 2010-06-13 13:46:36 +00:00
matthias.ringwald
d370e7cf04 implmented continuation handling for sdp_handle_service_search_attribute_request 2010-06-13 10:30:43 +00:00
matthias.ringwald
231e1adb5d implemented continuation handling for sdp_handle_service_attribute_request 2010-06-13 09:58:38 +00:00
matthias.ringwald
c1b43b8cbf pass on connection to sdp register functions, call sdp_unregister_services_for_connection when client disconnects 2010-06-13 08:26:47 +00:00
matthias.ringwald
707971a702 add _internal to unregister service record 2010-06-12 20:59:22 +00:00
matthias.ringwald
7a26a9baa7 add sdp_register_service_record, sdp_unregister_service_record commands 2010-06-12 19:03:58 +00:00
matthias.ringwald
d9944f02e3 added internal sdp register/unregister functions 2010-06-11 21:12:14 +00:00
matthias.ringwald
fb19951d60 also handle deny other two SDP requests 2010-06-09 18:41:25 +00:00
matthias.ringwald
5b0ad4acac added sdp preliminaries 2010-06-09 17:33:28 +00:00
matthias.ringwald
c840b07bfe add utils used by sdp 2010-06-09 17:32:07 +00:00
matthias.ringwald
378e197db2 added big endian helpers to utils.c for SDP 2010-06-09 15:30:49 +00:00
matthias.ringwald
3959151bf9 more or less complete SDP ServiceRecord handling utilities 2010-06-08 18:52:10 +00:00
matthias.ringwald
a83b7b0088 added hci_pin_code_request_negative_reply 2010-04-28 20:33:30 +00:00
matthias.ringwald
13939703e9 added master/slave role commands and events 2010-03-14 11:09:10 +00:00
matthias.ringwald
3558ddaba3 fix compile, added HID PSMs 2010-03-04 23:22:39 +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
504c9121df added bt_use_tcp and adapted bt_open 2010-02-28 21:45:22 +00:00
matthias.ringwald
913f4ccbaf added definition for bt_use_tcp() 2010-02-28 21:37:59 +00:00
matthias.ringwald
4a83a7105b added rfcomm and sdp psm 2010-02-28 21:36:57 +00:00
matthias.ringwald
c0b99c8eb4 new error for BTstackManager 2010-02-24 17:49:12 +00:00
matthias.ringwald
5f637968bf added btstack error codes for activation 2010-02-21 13:56:01 +00:00
matthias.ringwald
38eecb221f correct READ_ACL_LENGTH macro 2010-02-13 12:16:03 +00:00
matthias.ringwald
e405ae81a6 l2cap incoming working 2010-01-26 20:49:02 +00:00
matthias.ringwald
1f7b95a184 dispatch l2cap commands 2010-01-25 20:25:20 +00:00
matthias.ringwald
2033929e11 added read/write link supervision timeout 2010-01-24 21:57:30 +00:00
matthias.ringwald
59173cd106 add missing prototypes 2010-01-23 18:38:46 +00:00
matthias.ringwald
96f7db3e35 added some hci link policy commands 2010-01-23 18:26:56 +00:00
matthias.ringwald
0ba57748f4 also commit new events 2010-01-09 22:26:45 +00:00
matthias.ringwald
1b0e3922ba added btstack_get_version 2010-01-09 11:01:23 +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
b0bb5abe45 added hci_authentication_requested 2009-11-28 21:45:21 +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
c8164b0280 implement run_loop_remove for cocoa 2009-10-28 21:51:56 +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
matthias.ringwald
6f60b3f468 forward channel ID to client packet handler. only deliver payload to client instead of complete header incl acl + l2cap headers. fix examples 2009-10-21 19:58:40 +00:00
matthias.ringwald
03cfbabc9a added status to L2CAP_CHANNEL_OPENED event 2009-10-19 20:21:32 +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
1f86f1bbfd merge event and data handler into general packet handler 2009-10-05 22:06:12 +00:00
matthias.ringwald
93ed97b351 move packet types to btstack.h or hci_cmds.h 2009-10-05 20:59:24 +00:00
matthias.ringwald
b360b6ad92 remove BTSTACK_EVENT_WORKING. Use BTSTACK_EVENT_STATE with state == HCI_STATE_WORKING instead 2009-09-30 20:29:30 +00:00
matthias.ringwald
97a34cd44c moved test macro to utils.h 2009-09-29 20:13:43 +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
ffa95428fe include requried headers in btstack.h 2009-09-28 21:20:27 +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