35 Commits

Author SHA1 Message Date
Matthias Ringwald
15a95bd5aa gap: declare more hci functions as gap functions 2016-02-18 17:12:57 +01:00
Matthias Ringwald
f31a71cf4b sco: have h2_libusb emit HCI_EVENT_SCO_CAN_SEND_NOW when outgoing buffer available, send as long as can_send_now is true 2016-02-18 15:05:38 +01:00
Matthias Ringwald
63fa3374ea hci_transport: send HCI_EVENT_TRANSPORT_PACKET_SENT when buffer can be re-used, send HCI_EVENT_SCO_CAN_SEND_NOW if that's separate 2016-02-18 14:48:41 +01:00
Matthias Ringwald
eda0480f01 Merge branch 'master' into ble-api-cleanup 2016-02-18 10:30:06 +01:00
Milanka Ringwald
0ebf25ba54 hsp docu, documented event types in hci_cmds.h 2016-02-17 12:07:24 +01:00
Matthias Ringwald
66a048ab90 Merge branch 'master' into ble-api-cleanup 2016-02-15 22:06:55 +01:00
Matthias Ringwald
bd23fc3eaf hfp_ag: API review 2016-02-12 15:36:11 +01:00
Matthias Ringwald
9c80e4cce8 util.h: rename swapX into reverse_x 2016-02-11 14:37:22 +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
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
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
c5b64319fd l2cap: don't forward HCI to l2cap packet handler. Replace l2cap_register_packet_handler with hci_add_event_handler. Fix tests 2016-02-03 21:55:36 +01:00
Matthias Ringwald
f8fbdce0c5 use little/big_endian_read/store_16/24/32 2016-01-31 00:07:32 +01:00
Matthias Ringwald
4af9a48d93 Merge branch 'master' into ble-api-cleanup 2016-01-24 19:11:51 +01:00
Matthias Ringwald
1aba866f2c add SCO handle to HSP_SUBEVENT_AUDIO_CONNECTION_COMPLETE 2016-01-24 19:07:46 +01:00
Matthias Ringwald
7907f06931 btstack-config.h -> btstack_config.h 2016-01-21 15:41:16 +01:00
Matthias Ringwald
8263662281 run_loop.h -> btstack_run_loop.h 2016-01-20 15:08:39 +01:00
Matthias Ringwald
16ece13520 prefix debug with btstack_ 2016-01-20 14:52:45 +01:00
Matthias Ringwald
d0c2076983 Merge branch 'master' into ble-api-cleanup 2016-01-17 21:53:13 +01:00
Matthias Ringwald
2df666d0cc fix include paths 2016-01-17 21:45:27 +01:00
Matthias Ringwald
b3aad8da60 SCO: add hci_get_sco_packet_length to query SCO packet size needed for USB and use in hsp_hs_test 2016-01-16 21:57:34 +01:00
Matthias Ringwald
800f1352ca use recommended SCO packet size of 24 frames for single channel 2016-01-15 23:15:52 +01:00
Matthias Ringwald
d210d9c4c0 Merge branch 'master' into ble-api-cleanup 2016-01-14 19:59:05 +01:00
Matthias Ringwald
729ed62ea0 send write sco flow control enable if #HAVE_SCO_OVER_HCI 2016-01-14 14:19:37 +01:00
Matthias Ringwald
03813843b6 fix compile 2016-01-14 13:52:46 +01:00
Matthias Ringwald
f5a23e02c7 backport tracking of hci_write_synchronous_flow_control_enable and add hsp_hs_test example 2016-01-14 13:48:02 +01:00
Matthias Ringwald
9c1b0a25a5 first working SCO audio send example 2016-01-14 12:15:30 +01:00
Matthias Ringwald
4fc359d955 moved hsp implementation to src/ and all pts tests to test/pts 2015-06-12 22:16:57 +02:00
Matthias Ringwald
021abac4f8 aligen SDP record item to 4 byte boundary 2015-05-21 16:33:14 +02:00
Matthias Ringwald
71de195ed3 fix c99 warnings for missing argument of functions with no arguments, fix more warnings 2015-05-13 10:30:46 +02:00
Matthias Ringwald
c13e0a893e removed run_loop_execute from embedded examples, call after btstack_main in main.c 2015-03-31 14:01:58 +02:00
mila@ringwald.ch
8f74874871 hsp ag & hs pass pts tests 2015-03-05 16:23:58 +00:00
mila@ringwald.ch
3099ceee29 hsp: ag emits events, added cmd line ag test 2015-02-27 16:17:11 +00:00
mila@ringwald.ch
e330774b96 hsp ag and hs: extract library, introduce callback, emit event not yet implemented 2015-02-27 11:07:58 +00:00