BLE implementation based on Linux Bluez/dbus.
More...
#include "os_ble.h"
#include "util/u_misc.h"
#include <poll.h>
#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <inttypes.h>
#include <dbus/dbus.h>
|
#define | for_each(i, first) |
|
|
int | os_ble_notify_open (const char *dev_uuid, const char *char_uuid, struct os_ble_device **out_ble) |
|
◆ for_each
#define for_each |
( |
|
i, |
|
|
|
first |
|
) |
| |
Value:for (DBusMessageIter i = first; \
dbus_message_iter_get_arg_type(&i) != DBUS_TYPE_INVALID; \
dbus_message_iter_next(&i))