57 Commits

Author SHA1 Message Date
Milanka Ringwald
2fca4dad95 license: update text 2021-11-02 09:31:00 +01:00
Matthias Ringwald
c8dfe071e5 hci_transport: extract convenience function declaration for h4, h5, em9304_spi, and usb into separate hci_transport_{type}.h 2021-03-26 11:51:57 +01:00
Matthias Ringwald
fd95f94573 hci_transport_h5: conditional compile if ENABLE_H5 2021-03-04 19:42:08 +01:00
Matthias Ringwald
e76f5dd474 hci_transport: add parity to hci_transport_config_uart_t 2021-03-03 09:43:26 +01:00
Matthias Ringwald
a48f52afac hci_transport_h5: new implementation based on btstack_uart driver with SLIP support 2021-03-03 09:38:32 +01:00
Matthias Ringwald
a8d51f092f add missing default switch cases 2020-10-27 18:16:17 +01:00
Matthias Ringwald
60030d2ce5 hci_transport_h5: set timeout handler during hci_transport_link_init 2020-08-24 17:59:05 +02:00
Matthias Ringwald
2992f73460 hci_transport_h5: fix compile 2020-07-23 13:28:22 +02:00
Matthias Ringwald
4ea43905e8 MISRAC2012-Rule-10.4_a: append 'u' to constant literals when used in unsigned expressions or comparisons 2020-07-23 12:36:33 +02:00
Matthias Ringwald
0d1523fec6 fix warnings 2020-05-14 14:41:17 +02:00
Matthias Ringwald
8334d3d848 MISRAC2012-Rule-8.9: inline const objects that are used by single function 2020-01-17 11:30:10 +01:00
Matthias Ringwald
6e79178071 MISRAC2012-Rule-11.9: use NULL instead of 0 2019-12-03 12:39:19 +01:00
Matthias Ringwald
0e588213fd MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 15:48:31 +01:00
Matthias Ringwald
c1ab6cc1be MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 14:31:48 +01:00
Matthias Ringwald
cebe3e9ef6 fix compile warnings (unused param, signed / unsigned comparison) 2019-10-30 15:34:08 +01:00
Matthias Ringwald
c682b8ecdf hci transport h4/h5/em9304: ignore block read/sent from UART driver when closed 2019-08-15 20:57:50 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
8b29284be6 hci_transport_h5: use main baudrate for nominal frame receive time 2019-03-12 15:55:27 +01:00
Matthias Ringwald
fc6cde64da Replaced HCI_PACKET_BUFFER_SIZE with HCI_INCOMING_PACKET_BUFFER_SIZE and HCI_OUTGOING_PACKET_BUFFER_SIZE 2018-07-23 14:14:14 +02:00
Matthias Ringwald
9f5265c3aa hci_transport_h5: disable forced log_debug 2017-11-02 10:46:57 +01:00
Matthias Ringwald
e9ff703eac h5: track time receiving SLIP frame 2017-10-12 10:31:52 +02:00
Matthias Ringwald
99136b1c3b hci_transport_h5: added log_errors for unexpected reads/writes 2017-10-11 12:22:44 +02:00
Matthias Ringwald
13c10a34b0 fix wanring 'unreachable statement' 2017-05-18 18:24:18 +02:00
Matthias Ringwald
d0756da49e fix format warnings for uint32_t values 2017-05-02 19:05:56 +02:00
Matthias Ringwald
5c5f3f76da h5: add 50 ms to minimum resend timeout 2017-05-02 15:53:52 +02:00
Matthias Ringwald
b178c54806 h5: don't log single bytes for rx 2017-04-24 15:24:02 +02:00
Matthias Ringwald
bf71c89905 h5: send empty config reponse for empty config message 2017-04-23 00:19:32 +02:00
Matthias Ringwald
b304e673c2 h5: use log_debug[_hexdump] for debug level output 2017-04-07 22:34:20 +02:00
Matthias Ringwald
daa2e90cf2 h5: add hci_transport_h5_enable_bcsp_mode() to use BCSP with CSR chipsets 2017-04-07 12:39:30 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
1f8d704626 h5: don't require post buffer anymore 2017-03-03 13:51:26 +01:00
Matthias Ringwald
c65ae2a0ed h5: fix corruption of outgoing fragmented ACL packets. 2017-03-03 12:24:27 +01:00
Matthias Ringwald
f7d194e559 h5: use correct scope for temp control message buffer 2017-03-03 12:24:27 +01:00
Matthias Ringwald
62ca45d755 h4_ehcill/h5: provide HCI_EVENT_TRANSPORT_SLEEP_MODE event that indicates to app if it can put device into deep sleep 2017-02-28 12:08:10 +01:00
Matthias Ringwald
c6df6d84d0 h5: append data integrity check for outgoing packets if supported by peer 2017-02-24 11:42:12 +01:00
Matthias Ringwald
e9c151bc12 h5: provide 2 byte post buffer for outgoing packets - used for 16-bit data integrity check 2017-02-24 11:42:12 +01:00
Matthias Ringwald
7c2aa31e5c h5: track if peer supports data integrity check 2017-02-24 11:42:12 +01:00
Matthias Ringwald
79b61987df h5: enable Data Integrity Check, validate crc of incoming packets 2017-02-24 11:42:12 +01:00
Matthias Ringwald
ee752bb8db hci_transport: add set_sco_config and call when nr. of SCO connections changes 2017-01-19 17:05:43 +01:00
Matthias Ringwald
f04a0c3191 fix warnings for using %u with int vars 2016-10-09 21:59:50 +02:00
Matthias Ringwald
6ae10533e1 h5: chunk outgoing slip frames to avoid buffer size double the size of the hci buffer 2016-04-29 12:04:36 +02:00
Matthias Ringwald
94764e9910 h5: support for auto-sleep mode after link inactivity 2016-04-28 22:19:33 +02:00
Matthias Ringwald
cbc04f4886 h5: accept partial config message 2016-04-28 14:55:19 +02:00
Matthias Ringwald
d8e28fa375 h5: call uart set sleep if link enters sleep mode 2016-04-27 15:50:05 +02:00
Matthias Ringwald
307a4fe366 h4: add parts of eHCILL (not tested/working) 2016-04-27 10:47:25 +02:00
Matthias Ringwald
bd021c4e5b h4/h5: move platform independent implementations into core 2016-04-22 16:23:23 +02:00
matthias.ringwald@gmail.com
9c8de8fd4b moved non-working and neglected h5 posix implementation into platforms 2015-03-19 21:01:38 +00:00
mila@ringwald.ch
a0c35809ae streamline copyright headers 2015-02-06 16:19:27 +00:00
matthias.ringwald@gmail.com
5bb5bc3ed8 removed packet logging functionality (hci_dump, hexdump) from hci transport implementations and use hci_dump in hci.c instead 2014-11-16 20:05:18 +00:00
matthias.ringwald
6b64433e6a added non-commerical clause and contact email 2012-05-07 21:54:09 +00:00