270 Commits

Author SHA1 Message Date
Matthias Ringwald
6f08f1597c tool/compile_gatt.py: support dynamic descriptors for environmental sensing 2021-02-11 10:46:58 +01:00
Matthias Ringwald
17215335f5 tool/compile_gatt.py: extract generic parser for dynamic descriptors for read/write and read-only 2021-02-11 10:45:21 +01:00
Milanka Ringwald
f399f7fbd7 hid_host: provide memory pool for hid_host_connection_t 2021-02-09 15:59:55 +01:00
Matthias Ringwald
e819545526 daemon/bindings: fix compile for java and python 2021-02-08 18:37:28 +01:00
Matthias Ringwald
75a8e4fae1 gap: emit GAP_EVENT_LOCAL_OOB_DATA 2021-02-08 17:19:05 +01:00
Matthias Ringwald
798bd46f26 btstack_memory: fix de-init 2021-02-03 14:31:14 +01:00
Matthias Ringwald
19ef97d232 btstack_memory: fix memory tracking, assert all buffers are freed in deinit 2021-02-03 10:09:14 +01:00
Matthias Ringwald
6d34f98e0c test/btstack_memory: cover no buffers, single buffer, and malloc configurations 2021-01-28 15:20:28 +01:00
Matthias Ringwald
29ba805bf8 tool/compile_gatt: support multiple instances of the same service 2021-01-26 21:00:34 +01:00
Matthias Ringwald
5b1b9b3f03 tool/convert_gatt_service: add copy of Bluetooth SIG GATT Services page from 2020-07-22 2021-01-26 17:24:36 +01:00
Matthias Ringwald
2a95308bb2 btstack_memory: avoid pointer arithmetic for buffer tracking with HAVE_MALLOC 2021-01-19 10:46:28 +01:00
Matthias Ringwald
b626974228 btstack_memory: track mallocs if HAVE_MALLOC (de-init) 2021-01-18 21:34:25 +01:00
Milanka Ringwald
5b2fa894af tools: prepare script to update Copyright text 2020-11-24 11:18:28 +01:00
Milanka Ringwald
41e404d30d tools: update btstack_root 2020-11-06 14:20:22 +01:00
Milanka Ringwald
d3ea2236fc config: cleanup 2020-11-06 14:13:47 +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
da3afb49ed config: tool for updating port configurations 2020-11-06 13:42:47 +01:00
Milanka Ringwald
6ccd824859 update python scripts to python3 2020-11-03 15:19:00 +01:00
Matthias Ringwald
fa529fa70e tool/compile_gatt: mark profile_data as constexpr for C++11 2020-10-23 16:31:52 +02:00
Matthias Ringwald
565fe80db1 tool/sm_random_check: update to python3 2020-10-16 17:24:22 +02:00
Matthias Ringwald
1cc8850a16 doc: fix get git tag in buildbot 2020-10-08 09:58:00 +02:00
Matthias Ringwald
7ab355f4eb tool: add package.sh script to release version incl. documentation 2020-10-06 17:50:43 +02:00
Matthias Ringwald
6b7b368a28 test: move Security Manager SC test into own folder 2020-09-18 17:34:32 +02:00
Matthias Ringwald
ced5a857a4 tool/compile_gatt: add fallback for PyCryptodome installed as replacement for PyCrypto 2020-09-11 15:43:31 +02:00
Matthias Ringwald
e698d63d6c tool/create_packet_log: try to deal with windows 16-bit unicode by dropping \0 characters 2020-08-26 17:08:12 +02:00
Matthias Ringwald
039cbf1d6c mesh: use mesh_upper_transport_pdu_t for all access messages, remove mesh_transport_pdu_t 2020-08-08 19:47:48 +02:00
Matthias Ringwald
491f99b339 mesh: define mesh_upper_transport_pdu for (un)segmented access messages and segmented control messages 2020-08-08 19:47:48 +02:00
Matthias Ringwald
a4bbc09d8c mesh: mesh_message_pdu -> mesh_segmented_pdu 2020-08-08 19:47:47 +02:00
Matthias Ringwald
f7434c1fd6 mesh: introduce mesh_message_t 2020-08-08 19:47:47 +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
19d4ba9182 tool/misc: add tool to convert signed to unsigned literals when used in unsigned expressions 2020-07-22 13:53:20 +02:00
Matthias Ringwald
6c87a5c39f tool/misc: new append_u_to_constants.cocci 2020-07-20 23:37:06 +02:00
Matthias Ringwald
0dd3c6c3ef use unsigned literals instead of clumsy casts in ad_parser.c and btstack_event.h 2020-07-14 23:37:47 +02:00
Matthias Ringwald
be3a5e5ff9 fix compile tool/metrics and port/daemon 2020-07-13 18:31:49 +02:00
Matthias Ringwald
9b8ab7dae8 daemon/bindings: update btstack_parser, java + python bindings for new opcode defines 2020-07-09 21:19:39 +02:00
Matthias Ringwald
5c54401929 tool: update python scripts to python3 2020-07-09 16:24:31 +02:00
Matthias Ringwald
3404c94120
Merge pull request #296 from Matheus-Garbelini/develop
use python3 for compile_gatt.py, qt4, and some desktop ports
2020-07-09 11:29:11 +02:00
Matthias Ringwald
3573e8a41e tool/btstack_event_generator: enforce uint8_t offsets 2020-07-07 22:25:58 +02:00
Matheus Garbelini
4783d25609 Fix some python3 related errors during compilation
* qt-h4 cmake now uses PROJECT_SOURCE_DIR to correctly point to the project root folder (fixes compilation error when the user build from sub-folder)
* Change from using python to `python3` (previously compilation would fail if user had python as the default python2.7)
2020-06-24 02:33:27 +08:00
Matthias Ringwald
b59454f6f7 tool/metric: add micro-ecc and rijndael sources
update location of minimal c-headers
2020-04-10 10:23:10 +02:00
Matthias Ringwald
7490175edc tool/compile_gatt.py: use random number for GATT Database Hash, if PyCryptodome is not installed 2020-03-02 15:34:49 +01:00
Matthias Ringwald
d78181d6b7 tool/compile_gatt.py: use text-mode for temporary file - fix for windows 2020-02-23 22:32:19 +01:00
Matthias Ringwald
379d3ace42 tool/compile_gatt: revert to working version 2020-01-16 15:15:37 +01:00
Matthias Ringwald
5dde773e0b tool/metrics: handle metric without deviations 2020-01-13 22:16:04 +01:00
Matthias Ringwald
043f8832f5 tool/compile_gatt:calculated GATT Database Hash 2020-01-12 21:14:32 +01:00
Matthias Ringwald
285653b26b tool/compile_gatt: support multiple process passes 2020-01-10 23:21:07 +01:00
Matthias Ringwald
9f4d1a7b89 tool/misc: cocci script for if (ptr) operations, (void) memcpy 2019-12-03 12:23:19 +01:00
Matthias Ringwald
d918542bd5 tool: avoid // in comments for header files generated by Bluetooth SIG web scraping 2019-12-02 14:37:32 +01:00
Matthias Ringwald
6360ea131b tools/metrics: allow to override C_HEADERS location 2019-11-27 16:18:22 +01:00
Matthias Ringwald
227c17e4f1 tools/metrics: create metrics.html 2019-11-27 16:18:22 +01:00