246 Commits

Author SHA1 Message Date
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
Matthias Ringwald
3ce65d0ff3 tool/metrics: print func count 2019-11-27 16:18:22 +01:00
Matthias Ringwald
a4fcae569e tool/metrics: fix ccsm build 2019-11-27 16:18:22 +01:00
Matthias Ringwald
5df9dc7819 MISRAC2012-Rule-12.1: add suggested parentheses 2019-11-19 15:10:58 +01:00
Matthias Ringwald
ea1be65587 misc: help fix misra 12.1 based on c-stat warnings 2019-11-18 23:30:08 +01:00
Milanka Ringwald
293fd5fb21 sine_table_generator: update usage 2019-10-22 10:42:37 +02:00
Matthias Ringwald
b08c8c4999 tool: add bluetooth_psm.py to scrape PSM identifiers from SIG 2019-09-26 22:34:50 +02:00
Matthias Ringwald
b1dcf9d89e btstack_event: use reverse_bytes to avoid cast to bd_addr_t 2019-09-14 21:55:47 +02:00
Matthias Ringwald
b4e354c12f tool/compile_gatt: fix tool permissions 2019-09-06 15:47:37 +02:00
Matthias Ringwald
78b65b0a93 tool/compile_gatt: normalize paths, use os specific path separators 2019-09-06 14:46:25 +02:00
Matthias Ringwald
d7e6933a33 tool/metric: show metrics in table 2019-08-30 22:28:25 +02:00
Matthias Ringwald
7846277fa5 tool/metric: Makefile to run ccsm and process it, minimal inttypes.h for ccsm 2019-08-29 21:07:09 +02:00
Matthias Ringwald
fda2bcc8f5 tool/metrics: use ccsm 2019-08-29 14:20:52 +02:00
Matthias Ringwald
78e65fa66c tool/metric: calc average for ccn and param 2019-08-27 16:50:10 +02:00
Matthias Ringwald
38e38f2334 tool/metrics: measure cyclomatic complexity, num params, num functions, num gotos 2019-08-27 16:26:54 +02:00
Matthias Ringwald
a0ecb5f3e0 tool/dump_pklg: detect end of file without error message 2019-08-22 15:02:03 +02:00
Matthias Ringwald
a5a7b6da93 mesh: fix compile 2019-07-20 08:50:34 +02:00
Matthias Ringwald
01122b73ee mesh: add mesh_subnet_t 2019-07-20 08:50:32 +02:00
Matthias Ringwald
77ba3d3f9f mesh: move src/ble/mesh to src/mesh 2019-07-20 08:50:31 +02:00
Matthias Ringwald
1f45d60344 mesh: provide mesh_virtual_address structs via memory pool 2019-07-20 08:50:29 +02:00
Matthias Ringwald
01e2bf9489 mesh: provide memory pool for mesh_transport_keys 2019-07-20 08:50:27 +02:00
Matthias Ringwald
50dc57fcb6 mesh: fix memory pool init 2019-07-20 08:50:27 +02:00
Matthias Ringwald
1c4e808439 mesh: extract network key managment from mesh_network into mesh_keys 2019-07-20 08:50:27 +02:00
Matthias Ringwald
df5d954deb mesh: use mesh_transport_pdu instead of mesh_access_pdu 2019-07-20 08:50:22 +02:00
Matthias Ringwald
898500f031 mesh: add mesh_access_pdu_t and provide memory pool 2019-07-20 08:50:22 +02:00