Monado OpenXR Runtime
Data Structures | Macros | Functions
os_ble_dbus.c File Reference

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>
Include dependency graph for os_ble_dbus.c:

Data Structures

struct  ble_notify
 

Macros

#define for_each(i, first)
 

Functions

int os_ble_notify_open (const char *dev_uuid, const char *char_uuid, struct os_ble_device **out_ble)
 

Detailed Description

BLE implementation based on Linux Bluez/dbus.

Author
Pete Black pete..nosp@m.blac.nosp@m.k@col.nosp@m.labo.nosp@m.ra.co.nosp@m.m
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Macro Definition Documentation

◆ 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))

Function Documentation

◆ os_ble_notify_open()

int os_ble_notify_open ( const char *  dev_uuid,
const char *  char_uuid,
struct os_ble_device **  out_ble 
)