8914 Commits

Author SHA1 Message Date
Matthias Ringwald
33e6948b12 hci: validate advertisement data length field when generating GAP_EVENT_ADVERTISING_REPORT 2019-01-17 15:43:36 +01:00
Matthias Ringwald
23b7e05eef btstack_crypto: remove printfs 2019-01-14 21:23:31 +01:00
Matthias Ringwald
03843d749b btstack_crypto: fix typo in ccm functions 2019-01-12 23:15:46 +01:00
Matthias Ringwald
f88ad41f77 btstack_crypto/aes-ccm: add support for Additional Authenticated Data (AAD) 2019-01-12 22:19:02 +01:00
Matthias Ringwald
c342091bde l2cap: use void cast to avoid -Wcast-align warning 2019-01-10 15:50:37 +01:00
Matthias Ringwald
61c3f6de95 l2cap: fix crash when requesting ERTM but remote does not support ERTM at all 2019-01-10 15:42:45 +01:00
Matthias Ringwald
278494d6b3 rfcomm: assertt ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE is defined if ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE_FOR_RFCOMM is enabled 2019-01-09 09:25:54 +01:00
Matthias Ringwald
8cef84f359 spp_streamer/spp_streamer_client: optionally use L2CAP ERTM for RFCOMM with a single ERTM buffer 2019-01-09 09:08:52 +01:00
Matthias Ringwald
b8261b65d9 rfcomm: add missing l2cap include 2019-01-08 17:34:14 +01:00
Matthias Ringwald
a7a98a1451 rfcommm: support L2CAP ERTM. Callbacks passed to rfcomm_enable_l2cap_ertm() are used to manage ERTM buffers 2019-01-08 15:15:30 +01:00
Matthias Ringwald
2e98e94777 rfcomm: use outgoing buffer instead of l2cap send prepared, required for ERTM 2019-01-08 10:06:01 +01:00
Matthias Ringwald
c425ea4ad2 l2cap: add fcs_option to ERTM config l2cap_ertm_config_t 2019-01-08 09:18:09 +01:00
Matthias Ringwald
66a726407a l2cap: emit L2CAP_EVENT_ERTM_BUFFER_RELEASED if ERTM buffer not needed/used anymore 2019-01-07 21:47:59 +01:00
Matthias Ringwald
624873c3b8 l2cap: wrap l2cap_emit_opened by l2cap_report_channel_open_failed on error 2019-01-07 21:33:58 +01:00
Matthias Ringwald
7f1690cf27 l2cap: provide channel mode (basic/ertm) and fcs option in L2CAP_EVENT_CHANNEL_OPENED 2019-01-07 20:55:28 +01:00
Matthias Ringwald
729710c069 hci: enable le events for phy update and channel selection 2019-01-04 18:47:18 +01:00
Matthias Ringwald
b90f6e0afe gap: add gap_le_set_phy command 2019-01-04 18:46:13 +01:00
Matthias Ringwald
e705510c28 hci: return after sending hci cmd in hci_run() 2019-01-04 18:43:18 +01:00
Matthias Ringwald
dbf302f76d posix-h4-zephyr: fix use of static address 2019-01-04 15:26:08 +01:00
Matthias Ringwald
65f28213d1 example/le_streamer_client: fix latency output on connection event 2019-01-04 12:30:10 +01:00
Matthias Ringwald
088a7bae4d test/sbc: fix in_raw to not use plc 2019-01-03 13:52:00 +01:00
Matthias Ringwald
6cfd76e47e test/sbc+hfp: use O_RDONLY to read packet log on windows 2019-01-03 12:11:19 +01:00
Matthias Ringwald
ca13daef16 hci_cmd: add commands for LE PHY control 2019-01-02 12:22:24 +01:00
Matthias Ringwald
cd542ed65d hci: check if LE Set Defaut PHY is supported 2019-01-02 12:01:35 +01:00
Matthias Ringwald
5fa31a9940 hci_dump: support PacketLogger or BlueZ format output via SEGGER RTT Channel 1 Up 2018-12-21 15:29:56 +01:00
Matthias Ringwald
6ed7c861fe test:hfp/sbc: don't link against cpputest for pklg tools 2018-12-21 12:12:02 +01:00
Matthias Ringwald
368800542b test/sbc: less files for pklg_mscb_test 2018-12-21 12:08:44 +01:00
Matthias Ringwald
b0f6a411ba test/hfp: less files for pklg_cvsd_test 2018-12-21 12:06:20 +01:00
Matthias Ringwald
4fef112057 test/hfp/sbc: disable octave output 2018-12-20 11:49:32 +01:00
Matthias Ringwald
ce1fc99246 btstack_sbc_decoder_bluedroid: insert generated frames in the correct order, correct bad bytes counting 2018-12-20 11:31:12 +01:00
Matthias Ringwald
b3551ec76d btstack_sbc_decoder_bluedroid: account for all bad bytes 2018-12-20 09:14:16 +01:00
Milanka Ringwald
7dc9826a2f cvsd plc: crop calculated overlaped value 2018-12-19 23:44:23 +01:00
Milanka Ringwald
4e59fe7d8d cvsd_plc: fix bad frame detection for packets comming over USB 2018-12-19 23:29:01 +01:00
Milanka Ringwald
d1550f906a cvsd_plc: add printfs for octave file to analyse history buffer 2018-12-19 19:11:16 +01:00
Matthias Ringwald
68db977aad test/sbc: pklg_sbc_test creates in_raw, in_plc, out wav files 2018-12-19 15:00:08 +01:00
Matthias Ringwald
9137e11839 btstack_sbc: btstack_sbc_decoder_test_set_plc_enabled to enable/disable PLC for testing 2018-12-19 14:58:32 +01:00
Matthias Ringwald
23ea0393db test/sbc: re-enable all pklg test files 2018-12-19 11:14:36 +01:00
Milanka Ringwald
de95d3c928 cvsd_plc: update PLC params 2018-12-19 10:46:40 +01:00
Milanka Ringwald
d28a35d955 pklg_msbc_test: plc enabled, fix usage info 2018-12-19 10:46:40 +01:00
Milanka Ringwald
221839372a btstack_sbc_decoder_bluedroid, plc: remove printfs, copy empty pcm data from decoder if plc not enabled 2018-12-19 10:46:40 +01:00
Milanka Ringwald
ee5b2fc6f6 btstack_sbc_plc: extend history buffer to hold 32ms of audio samples, print to octave consecutive bad frames and following good frame for analysis 2018-12-19 10:46:40 +01:00
Matthias Ringwald
8e95b336b3 test/hfp: pklg_cvsd_test creates in_raw, in_plc, out wav files 2018-12-19 10:07:11 +01:00
Milanka Ringwald
5089b9d063 mscbc test: add plc statistic 2018-12-18 14:50:13 +01:00
Matthias Ringwald
241e90988e test/sbc: fix compile 2018-12-18 14:25:42 +01:00
Matthias Ringwald
a69000d3ab test/sbc: avoid generating .o files in src tree 2018-12-18 13:59:52 +01:00
Milanka Ringwald
de854f9a28 plc: add max num consecutive bad frames statistic 2018-12-18 13:51:50 +01:00
Matthias Ringwald
1db30a88d0 btstack_cvsd_plc: count zero frames separately 2018-12-17 23:19:03 +01:00
Matthias Ringwald
9534a1bb52 test/hfp: fix path to fanfare mono input 2018-12-17 20:13:48 +01:00
Matthias Ringwald
a5eb47ac14 btstack_cvsd_plc: remove cvsd_fs field, not neccessary for algorihthm 2018-12-17 20:10:15 +01:00
Matthias Ringwald
80b0ebb694 example hfp/hsp: ignore SCO packets if connection handle doesn't match, use HCI_CON_HANDLE_INVALID 2018-12-17 18:36:14 +01:00