Commit Graph

62 Commits (master)

Author SHA1 Message Date
Olivier Martin dbe599dbfb examples/notification: Port example to new gattlib API 2024-04-24 14:37:28 +02:00
Olivier Martin 76353f8659 Do not build Python support by default and build examples by default 2024-04-10 10:50:48 +02:00
Olivier Martin 22dca4511c Require a lower version of cmake (same version as Ubuntu 22.04 LTS) 2024-04-05 10:25:54 +02:00
Olivier Martin 53e6c2c7ae tests: Added new test that try to connect/disconnect a same device 2024-04-04 12:03:29 +02:00
Olivier Martin aac4e069c9 CMakeLists.txt: Add DEBUG flag when building DEBUG build 2024-04-03 20:06:46 +02:00
Olivier Martin 5ca46ad208 examples: Port more examples to new API 2024-03-27 22:07:16 +01:00
Olivier Martin f3f6bb37bb Generate packages 2024-03-26 18:55:58 +01:00
Olivier Martin 2edc8f2620 Add support to enable Address Sanitizer 2024-03-12 20:37:53 +01:00
Olivier Martin 01ea87aa16 Disable C examples as they are not ported yet to new gattlib_connect() 2024-02-22 19:54:43 +01:00
Olivier Martin d3d9600114 cmake: Specify cmake version + Fix finding Python development module 2024-02-22 09:30:22 +01:00
Olivier Martin 5f5cb5bd12 common/logging_backend: Introduce Python backend 2024-02-22 09:30:22 +01:00
Olivier Martin 0a868a506b Added a public function to ease the use of GLib mainloop 2024-02-19 18:00:52 +01:00
Olivier Martin 5c87eda925 build: Disable doc generation by default 2022-05-11 20:29:07 +02:00
Olivier Martin 1afaa8b460 Introduce Gattlib logging backend 2021-10-18 16:46:45 +02:00
Olivier Martin e93504b91f cmake: Update 'cmake_minimum_required' as 2.6 is getting deprecated 2021-10-17 22:22:05 +02:00
Olivier Martin f4ecc64d29 Clarify and update license 2021-09-01 00:04:00 +02:00
saad-s f5c2fcc906 cmake option to enable/disable python interface 2020-07-02 13:29:18 +01:00
Olivier Martin eb70896c98 examples: Introduce 'advertisement_data' to demonstrate how to retrieve advertisement data from devices around 2020-04-09 10:33:27 +02:00
Olivier Martin 51bbc0242b example: Add example to find Eddystone in C 2020-04-07 12:29:19 +02:00
Olivier Martin 9663984e9d CMakeLists.txt: Fix build 2020-04-04 00:41:09 +02:00
Olivier Martin 26d288613d doc: Check if Doxygen is installed before generating the doc 2020-04-04 00:06:43 +02:00
Khem Raj 3d656b1e19 cmake: Use GNUInstallDirs
Helps install cmakefiles in right libdir

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-17 20:39:39 +01:00
Daniels Umanovskis d300b66ebd Make building docs optional - defaults to on 2019-10-29 15:44:25 +01:00
Olivier Martin 55d875438b CMakeLists.txt: Fixed build 2019-08-07 13:41:02 +02:00
Olivier Martin a5a45a9fad CMakeLists.txt: Fix implicitly converting 'BOOLEAN' to 'STRING' type. 2019-08-07 13:26:36 +02:00
Olivier Martin 42c9f2667d CMakeLists.txt: Fix version number 2019-08-05 14:42:07 +02:00
Olivier Martin 53bb794a7d examples/read_write_memory: Added read/write for demonstrating memory management 2019-07-21 20:35:57 +02:00
Olivier Martin 3d433e3551 Initial generated documentation support 2019-07-15 23:33:13 +02:00
Olivier Martin e5daed3484 CMakeLists.txt: Add support to specifying Bluez version at build time 2019-07-14 22:47:06 +02:00
Olivier Martin 2b9d932792 CMakeLists.txt: Increase CMake version to prevent some CMake error with cross-compiler
See: https://cmake.org/cmake/help/v3.4/policy/CMP0065.html
2019-07-09 11:03:02 +02:00
Olivier Martin d4e0c22792 CMakeLists.txt: Build firmware as Debug by default 2019-05-20 20:15:34 +02:00
Olivier Martin 5a31a00871 CMakeLists.txt: Add error message when bluez package is not available 2019-03-05 13:04:10 +01:00
Thomas Li Fredriksen d6a87e47a9 Fixed examples linker issue (missing pthread link). Added two cmake-options GATTLIB_BUILD_EXAMPLES and GATTLIB_SHARED_LIB 2018-01-03 13:45:28 +01:00
Olivier Martin 2a8fee224d CMakeLists.txt: Ensure '0.2-dev' tag is used when building 'dev' tag
Debian based distributions do not like package version without number.
2018-01-03 12:11:41 +01:00
Olivier Martin 3d7802af21 CMakeLists.txt: Print version that is building to ease debugging on travis CI system 2018-01-03 11:57:41 +01:00
Olivier Martin 82684b107e Merge pull request #39 from kinemic/debian_architecture_crosscompile
do not use dpkg to change deb arch when crosscompiling
2017-07-27 12:18:04 +02:00
Marcus Georgi cd6701dc08 do not use dpkg to change deb arch when crosscompiling 2017-07-25 13:47:50 +02:00
Marcus Georgi 3751fd3587 prepend the non-travis version with a number
- otherwise the built deb can't be installed
2017-07-19 14:57:22 +02:00
Olivier Martin 6361b818e5 Debian: Force Bluez version in package dependency 2017-07-02 15:44:19 +02:00
Olivier Martin 2e88aec8e1 Initial travis-ci support 2017-07-02 15:01:31 +02:00
Marcus Georgi 6d90fa4d48 don't mix C and CXX Flags in CMake
- otherwise clang will report error:
   invalid argument '-std=c++11' not allowed with 'C/ObjC'
2017-06-01 10:16:20 +02:00
Olivier Martin a40b8f9724 Select gattlib backend (bluez code or DBus API) following Bluez version 2017-03-17 11:20:08 +01:00
Olivier Martin d0b18d5409 examples: Demonstrate gattlib notification API 2017-03-17 11:20:08 +01:00
Olivier Martin d998e0072a dbus: Make gattlib based on D-Bus 2017-03-17 11:18:55 +01:00
Olivier Martin ebe4e57591 Move bluez specific files to 'bluez/' directory 2017-03-14 12:51:33 +01:00
Olivier Martin 6a083a8496 examples: Use 'gattlib' pkg-config to build the examples 2017-03-14 12:17:02 +01:00
Olivier Martin 7417102e12 examples: Adding a new example that demonstrates BLE Nordic UART Service (NUS) 2017-02-26 16:14:17 +01:00
Olivier Martin 45e7a8066c Increase the level of warnings and fix few of them 2017-02-08 19:16:51 +01:00
Olivier Martin 48f3ab4e5f CMakeLists.txt: Check if we are building for Bluez 4 or 5 2017-01-31 22:38:54 +01:00
Olivier Martin 1e68512f3b Renamed 'bluez' into 'bluez4' 2017-01-30 22:33:22 +01:00