Commit Graph

9 Commits (a85dd83015a31f28e2f8af0bc00d85d02b09b78e)

Author SHA1 Message Date
Flaviu Tamas bb90b55dde Flush uart after getting message
The internal stdout buffering causes problems when we're trying to get
data, but the data doesn't have any newlines or anything like that.
We're forced to wait for forever until the buffer gets filled up and
output to the console.

This solves that by flushing immediately after each message.
2021-12-03 09:39:07 +01:00
Olivier Martin 1afaa8b460 Introduce Gattlib logging backend 2021-10-18 16:46:45 +02:00
Olivier Martin d63b7ccb27 examples/nordic_uart: Use 'gattlib_notification_start()' 2021-02-01 16:48:02 +01:00
Olivier Martin 8020503ab6 gattlib: Added support for write-without-response 2019-07-05 22:50:23 +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 5391388201 gattlib.h: Pass 'uuid' instead of 'handle' to 'gattlib_event_handler_t' 2017-03-17 11:20:08 +01:00
Olivier Martin 076067a2d7 include/gattlib.h: Remove dependency on glib.h 2017-03-14 12:51:33 +01:00
Robert-B 5b76fada47 older compiler - do not use for loops with variable decalaration 2017-03-14 12:02:19 +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