94 Commits

Author SHA1 Message Date
David Lechner
0ca3fe1c31 remove semicolons from python files
Random semicolons in Python are distracting when reading the code.
2025-01-22 08:40:56 +01:00
David Lechner
73677349c9 tool: consistently use raw strings for regular expressions
Newer versions of Python raise a SyntaxWarning when a regular expression
contains a backslash that is not part of an escape sequence. To prevent
this warning and future exceptions, use raw strings for all regular
expressions. Even strings without escape sequences are converted for
consistency. Some IDEs will apply special syntax highlighting to raw
strings, which can make it easier to decipher regular expressions.
2025-01-22 08:40:56 +01:00
Milanka Ringwald
077fecbb6e ports: add link to documentation in btstack_config.h 2021-12-09 16:42:48 +01:00
Matthias Ringwald
8e170f4213 port/arduino: set h4 config, register hci packet handler for advertisements and connection events 2021-05-18 19:17:24 +02:00
Matthias Ringwald
c7747faaec arduino: use git tag/revision for archive 2021-05-09 22:47:16 +02:00
Matthias Ringwald
690999b0e5 arduino: fix ancs example build 2021-05-09 22:35:44 +02:00
Matthias Ringwald
eb4dccece8 arduino: update mkdocs project 2021-05-09 22:24:53 +02:00
Matthias Ringwald
b149c1b927 arduino: rework Makefile and update BTstack C++ wrapper for 1.0 API 2021-05-09 22:14:56 +02: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
017c2996ac hci_dump: arduino port 2021-03-11 15:53:45 +01:00
Matthias Ringwald
6f122aa372 Remove btstack_run_loop_base from port and test 2021-03-08 10:39:10 +01:00
Matthias Ringwald
6bdecec7ba move GATT Service clients into ble/gatt-service 2021-03-08 10:09:41 +01:00
Matthias Ringwald
50b47281dc btstack_run_loop_embedded: use run loop base (build) 2021-03-05 11:46:58 +01:00
Milanka Ringwald
3e90877db8 tools: don't use binary flag for opening text files 2020-11-06 13:55:00 +01:00
Milanka Ringwald
606ccc9bdf config: add ENABLE_PRINTF_HEXDUMP 2020-11-06 12:06:11 +01:00
Milanka Ringwald
36327e5a47 config: sort defines alphabetically 2020-11-06 12:01:26 +01:00
Milanka Ringwald
6ccd824859 update python scripts to python3 2020-11-03 15:19:00 +01:00
Matthias Ringwald
8613e0eb5b ports: remove memory config for classic where classic is not enabled 2020-10-05 12:48:31 +02:00
Matthias Ringwald
6a580d1772 arduino: update mkdocs config 2018-04-29 21:34:02 +02:00
Matthias Ringwald
73cbd4d97f arduino: add btstack_crypto.c 2018-04-19 15:18:29 +02:00
Matthias Ringwald
a06bcae0f7 arduino: fix packaging 2017-09-19 15:01:39 +02:00
Matthias Ringwald
22aa151238 le_device_db_memory: make nr of entries configurable via MAX_NR_LE_DEVICE_DB_ENTRIES 2017-02-11 22:44:02 +01:00
Matthias Ringwald
3b1c4bce52 ports: remove obsolete MAX_NR_GATT_SUBCLIENTS, MAX_NR_GATT_CLIENTS = 1 2017-02-02 14:53:53 +01:00
Matthias Ringwald
f12924e0a6 Remove ENABLE_LOG_INTO_HCI_DUMP - it only affected console output and there enabled/disabled the timestamp 2017-01-30 17:03:37 +01:00
Matthias Ringwald
1a68220246 config: add ENABLE_LE_PERIPHERAL and ENABLE_LE_CENTRAL to be able to reduce code size in Security Manager 2017-01-14 17:47:16 +01:00
Matthias Ringwald
3369daabb6 arduino: add custom BTstack.h instead of src/btstack.h to dist 2016-10-19 16:44:20 +02:00
Matthias Ringwald
d9a4d2fff4 fix compile 2016-09-29 16:08:33 +02:00
Matthias Ringwald
fac60fea7b fix compile 2016-09-29 16:06:01 +02:00
Matthias Ringwald
c2e1fa6005 hci: provided error code in hardware error callback 2016-07-17 20:58:49 +02:00
Matthias Ringwald
084ad01c1a hci_transport/btstack_uart_block: create btstack_uart_block_embedded on top of hal_uart_dma. Pass in uart driver to H4/H5 instances 2016-04-20 23:18:15 +02:00
Milanka Ringwald
be7cc9a0c2 use btstack_event_state_get_state 2016-04-01 12:27:13 +02:00
Matthias Ringwald
aec7654d98 prefix embedded HAVE_ 2016-03-30 11:06:56 +02:00
Matthias Ringwald
a265b909d4 memory: use MAX_NR_ instead of MAX_NO_ 2016-03-28 12:05:33 +02:00
Matthias Ringwald
2c455dad9a MAX_NO_BTSTACK_LINK_KEY_DB_MEMORYS -> MAX_NO_BTSTACK_LINK_KEY_DB_MEMORY_ENTRIES 2016-03-27 23:10:54 +02:00
Matthias Ringwald
40d883bd01 replace bzero with memset and drop HAVE_BZERO 2016-03-27 22:49:03 +02:00
Matthias Ringwald
045013fe99 java: use streamline event names, GAP_LE_EVENT_ADVERTISING_REPORT -> GAP_EVENT_ADVERTISING_REPORT 2016-03-07 17:19:53 +01:00
Matthias Ringwald
6dd60d2741 arduino: fix paths for doc generation 2016-03-04 15:10:05 +01:00
Matthias Ringwald
6e25cd8d95 ports: use MAX_NO_BTSTACK_LINK_KEY_DB_MEMORYS 2016-03-04 13:42:49 +01:00
Matthias Ringwald
0e2df43f5c event: introduce hci_event_packet_get_type 2016-02-19 14:52:36 +01:00
Matthias Ringwald
591e55515a ancs_client: use btstack_packet_handler_t 2016-02-19 14:05:39 +01:00
Matthias Ringwald
fc64f94a83 use hci_con_handle_t more 2016-02-19 13:57:49 +01:00
Matthias Ringwald
711e6c8033 use hci_con_handle_t more 2016-02-19 11:24:51 +01:00
Matthias Ringwald
2531c97e16 daemon: move examples from example/daemon to platform/daemon/example. fix mtk compile 2016-02-19 10:33:52 +01:00
Matthias Ringwald
e10ce42608 introduce meta event for ANCS Client events 2016-02-18 20:59:42 +01:00
Matthias Ringwald
d25c33e5a2 gatt_client: prefix gatt structs with gatt_client 2016-02-18 15:29:33 +01:00
Matthias Ringwald
d8e8f12ab0 gap.h: use gap_ instead of le_central_ or gap_le_ 2016-02-12 17:04:41 +01:00
Matthias Ringwald
591423b2a5 att -> att_db 2016-02-11 21:23:06 +01:00
Matthias Ringwald
2d5e09d6d4 hci: set link_key_db via hci_set_link_key_db instead of via hci_init(). 2016-02-11 20:10:17 +01:00
Matthias Ringwald
0ca398bf08 util.h: rename swapX into reverse_x 2016-02-11 14:33:35 +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