Commit Graph

18 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 014c2802ee Refactor code to better separate gattlib_adapter_t, gattlib_device_t, gattlib_connection_t and their backends 2024-04-05 13:20:40 +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 5f43addb8f gattlib_disconnection: Added support to wait for the disconnection to be effective 2024-03-29 00:20:30 +01:00
Olivier Martin d3d9600114 cmake: Specify cmake version + Fix finding Python development module 2024-02-22 09:30:22 +01: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
0xloem edb5862f96 make notification example a little more general 2021-05-23 13:46:21 +02:00
Johannes Bauer 1f6c89f0bf Fixed error message in notification example app
Fixed a small typo in which the newline was printed one character early
in an error message.
2019-09-28 15:00:47 +02:00
Olivier Martin c2a07a9139 Remove legacy options from `gattlib_connect()`
Legacy options can still be set from 'options' parameter.
2019-05-20 20:15:23 +02:00
Olivier Martin bcac05a811 examples/notification: Catch CTRL-C to exit properly 2019-05-03 09:47:18 +02:00
Olivier Martin cbeca9d6c0 examples/notification: Exit cleanly notification example 2019-03-05 16:39:46 +01:00
Marcus Georgi 096acbe837 explicitly link gattlib library in examples 2018-01-03 14:15:29 +01:00
Marcus Georgi 647f3d3c10 explicitly link to pthread and libpcre in examples
- omitting this causes linker errors when cross-compiling
2018-01-03 14:15:17 +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 2e88aec8e1 Initial travis-ci support 2017-07-02 15:01:31 +02:00
Olivier Martin 80f9884ae0 gattlib.h: Introduced CREATE_UUID16() 2017-03-17 11:20:08 +01:00
Olivier Martin d0b18d5409 examples: Demonstrate gattlib notification API 2017-03-17 11:20:08 +01:00