5125 Commits

Author SHA1 Message Date
Matthias Ringwald
4195f5cd7c first coccinelle patch 2016-02-11 15:21:25 +01:00
Matthias Ringwald
724d70a2cf bt_flip_addr(dest,src) -> reverse_bd_addr(src,dest) 2016-02-11 15:20:08 +01:00
Matthias Ringwald
8314c363bc introduce log_info_key and log_info_hexdump, move prototypes to btstack_debug.h 2016-02-11 14:53:59 +01:00
Milanka Ringwald
79d3c2ada7 hfp gsm cleanup 2016-02-11 14:41:37 +01:00
Matthias Ringwald
9c80e4cce8 util.h: rename swapX into reverse_x 2016-02-11 14:37:22 +01:00
Matthias Ringwald
0ca398bf08 util.h: rename swapX into reverse_x 2016-02-11 14:33:35 +01:00
Matthias Ringwald
73988a59ce util.h: use functions instead of static inline/macros. sscan_bd_addr -> sscanf_bd_addr 2016-02-11 14:19:26 +01:00
Matthias Ringwald
cbabbca4a7 util.h: replace macros with static inlined functions 2016-02-11 14:02:16 +01:00
Milanka Ringwald
ccb2e1df97 gsm: cleanup 2016-02-11 13:59:00 +01:00
Matthias Ringwald
dd5d695ef8 Merge branch 'master' into ble-api-cleanup 2016-02-11 11:21:05 +01:00
Matthias Ringwald
a650ba4d59 hci: make sure hci_run is called after transition to HCI_STATE_WORKING 2016-02-11 11:20:01 +01:00
Matthias Ringwald
0e7681ca32 sm_minimal: match event handling of sm.c 2016-02-11 11:11:09 +01:00
Matthias Ringwald
a4581e677d Merge branch 'master' into ble-api-cleanup 2016-02-11 10:37:19 +01:00
Matthias Ringwald
07fdcd55d7 spp_and_le_counter: allow writes on test characteristic 2016-02-11 10:35:30 +01:00
Matthias Ringwald
e1a125df32 util.h: new names uuid_has_bluetooth_prefix();uuid_add_bluetooth_prefix() 2016-02-10 17:12:50 +01:00
Matthias Ringwald
058e3d6b6b util.h: use lower case for bd_addr_copy and bd_addr_cmp 2016-02-10 17:09:24 +01:00
Matthias Ringwald
c9b8fdd998 fix typo in big_endian_read_32 2016-02-10 17:03:30 +01:00
Matthias Ringwald
1b0524c477 util.h: remove printUUID128 2016-02-10 17:01:26 +01:00
Matthias Ringwald
aa4d01c707 util.h: remove print_bd_addr 2016-02-10 13:43:31 +01:00
Matthias Ringwald
b1c4ef5fa8 util.h: move crc8 to rfcomm 2016-02-10 13:38:47 +01:00
Matthias Ringwald
caed94df78 util.h: move some to hci.h and btstack_link_key_db_fs 2016-02-10 13:35:25 +01:00
Matthias Ringwald
8974fcd6cf move Bluetooth related types to bluetooth.h and BTstack types to btstack_defines.h 2016-02-10 11:35:31 +01:00
Matthias Ringwald
ab49db6128 linked_list: drop user data field 2016-02-10 10:57:25 +01:00
Matthias Ringwald
a3a586663a Merge branch 'master' into ble-api-cleanup 2016-02-09 09:34:59 +01:00
Matthias Ringwald
0af43532f7 sm_minimal: fix compile 2016-02-09 09:33:41 +01:00
Matthias Ringwald
746ccb7e4a rename sdp -> sdp_server 2016-02-07 00:16:04 +01:00
Matthias Ringwald
701e3307de hci: notify if SCO can send now - triggered by DAEMON_EVENT_HCI_PACKET_SEND and if can send sco now is true 2016-02-07 00:13:18 +01:00
Matthias Ringwald
3bc639ce9b hci: notify if SCO can send now - if SCO flow control is enabled 2016-02-06 22:58:23 +01:00
Matthias Ringwald
1b89a84bb7 use L2CAP/RFCOMM_EVENT_CAN_SEND_NOW instead of DAEMON_EVENT_HCI_PACKET_SEND 2016-02-05 22:36:46 +01:00
Matthias Ringwald
773c410630 att_dispatch: forward L2CAP_EVENT_CAN_SEND_NOW to ATT Client & Server 2016-02-05 22:19:38 +01:00
Matthias Ringwald
34e7e5770f l2cap: emit L2CAP_EVENT_CAN_SEND_NOW also for registered fixed channels 2016-02-05 22:10:12 +01:00
Matthias Ringwald
9d04d3a7d7 hci: add hci_can_send_acl_classic_packet_now and hci_can_send_acl_le_packet_now 2016-02-05 22:07:34 +01:00
Matthias Ringwald
2125de0963 hci: extracted hci_number_free_acl_slots_for_connection_type 2016-02-05 21:38:24 +01:00
Matthias Ringwald
adbe29e86c l2cap: add fixed l2cap channel id to l2cap_can_send_fixed_channel_now 2016-02-05 21:20:17 +01:00
Matthias Ringwald
19448c0b45 att_dispatch: wrap calls to l2cap_can_send_fixed_channel for att client/server 2016-02-05 21:15:37 +01:00
Matthias Ringwald
5628cf69b5 l2cap: use table for fixed channels 2016-02-05 19:59:31 +01:00
Matthias Ringwald
b31d33b270 rfcomm: emit RFCOMM_EVENT_CHANNEL_CAN_SEND_NOW after open or failed rfcomm_can_send_now(..) request 2016-02-05 19:33:07 +01:00
Matthias Ringwald
33c40538a6 l2cap: emit L2CAP_EVENT_CHANNEL_CAN_SEND_NOW after open or failed l2cap_can_send_now(..) request 2016-02-05 17:37:51 +01:00
Matthias Ringwald
b072ba3345 l2cap: document events, add L2CAP_CAN_SEND_NOW, generate events 2016-02-05 14:38:48 +01:00
Matthias Ringwald
fc376368bd rfcomm: drop rfcomm_register_packet_handler and send events via per channel handler 2016-02-05 12:02:46 +01:00
Matthias Ringwald
ccb8ddfbd8 rfcomm: pass packet handler for create service or channel. store in service and channel structs 2016-02-05 11:50:47 +01:00
Matthias Ringwald
7298da4764 l2cap: clarify l2cap_register_packet_handler docu 2016-02-05 11:12:35 +01:00
Matthias Ringwald
54b584ff87 hci: remove callback for local information - use hci_add_event_handler instead 2016-02-04 18:06:14 +01:00
Matthias Ringwald
b6e96f1452 gatt_client: use btstack_packet_handler instead of (*fn)(type,packet,size) for events 2016-02-04 17:58:00 +01:00
Matthias Ringwald
d9a7306a10 hci/sm: use btstack_packet_handler instead of (*fn)(type,packet,size) for events 2016-02-04 17:45:02 +01:00
Matthias Ringwald
f3abff6765 gatt_client: don't forward lower layer events to own clients 2016-02-04 17:06:35 +01:00
Matthias Ringwald
dc98f6d35d att_server.h: improve docu 2016-02-04 16:55:48 +01:00
Matthias Ringwald
65b44ffd3b sm, att_server: don't forward events from lower layers. 2016-02-04 16:47:17 +01:00
Matthias Ringwald
406722e45a sm: replace sm_register_packet_handler with sm_add_event_handler 2016-02-04 16:20:00 +01:00
Matthias Ringwald
127fa568c1 test/iopt: fix compile 2016-02-04 16:17:04 +01:00