33 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
Matthias Ringwald
29ba805bf8 tool/compile_gatt: support multiple instances of the same service 2021-01-26 21:00:34 +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
ced5a857a4 tool/compile_gatt: add fallback for PyCryptodome installed as replacement for PyCrypto 2020-09-11 15:43:31 +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
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
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
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
7050bf34e5 compile_gatt: document how .h was generated 2019-03-28 09:44:12 +01:00
Matthias Ringwald
e72176f809 compile_gatt: add support for WRITE_AUTHENTICATED_SC and READ_AUTHENTICATED_SC flags 2019-03-06 15:14:07 +01:00
Matthias Ringwald
9be4aecf32 compile_gatt: Allow enable Notifications/Indication with Write Command. Fixes issue with some Android devices 2018-08-05 22:49:29 +02:00
Milanka Ringwald
dbb3997aee compile_gatt: add additional paths for .gatt files using -I 2018-07-05 12:15:01 +02:00
Matthias Ringwald
b7647eb604 compile_gatt: fix parsing of CHARACTERISTIC_USER_DESCRIPTION, issue #23 2018-05-28 21:58:43 +02:00
Matthias Ringwald
fd1be25d18 att_db: add att db version as first byte, report error if version differs (also works for older db without version byte) 2018-03-29 17:22:12 +02:00
Matthias Ringwald
d7ec1d24bc compile_gatt: pretty print security settings in generated file 2018-03-29 17:22:12 +02:00
Matthias Ringwald
e22a261227 compile_gatt: define independent security requirements for read and write operations 2018-03-29 17:22:12 +02:00
Matthias Ringwald
34af254639 att_db: detect persistent ccc by attribute uuid instead of explicit flag 2018-03-02 12:12:49 +01:00
Matthias Ringwald
8f8dd6263a att_db: introduce PERSISTENT_WRITE_CCC, add to CCC ATT handle 2017-10-17 14:50:51 +02:00
Matthias Ringwald
8ea3236c5e compile_gatt: fix flags for ccc 2017-09-22 14:49:27 +02:00
Matthias Ringwald
eb6072adf6 compile_gatt+att_db+att_db_util: make Client Characteristic Configuration readable without authentication but require permissions for write 2017-09-22 14:20:26 +02:00
Matthias Ringwald
231a3c5dc3 gatt_compiler: fix typo on CLIENT_CHARACTERISTIC_CONFIGURATION 2017-02-10 11:05:42 +01:00
Matthias Ringwald
85a677ece0 move GATT services into src/ble/gatt-service 2016-11-02 15:31:48 +01:00
Matthias Ringwald
60b51a4c4e GATT Compiler: support #import <..> and ".." directives 2016-10-31 17:35:45 +01:00
Matthias Ringwald
c9454abcff GATT Compiler: align comments 2016-10-31 16:06:06 +01:00
Matthias Ringwald
729074c4fd add defines for start and end handle of each service 2016-10-30 23:12:31 +01:00
Matthias Ringwald
b165f97b80 GATT Converter: resolve UUIDs from src/bluetooth_gatt.h 2016-10-28 15:28:53 +02:00
Matthias Ringwald
b3fcedb9c9 compile-gatt.py -> compile_gatt.py 2016-04-10 21:58:19 +02:00