Monado OpenXR Runtime
os_ble.h File Reference

Wrapper around OS native BLE functions. More...

Include dependency graph for os_ble.h:

Go to the source code of this file.

Data Structures

interface  os_ble_device
 Representing a single ble notify attribute on a device. More...
 

Functions

static XRT_MAYBE_UNUSED int os_ble_read (struct os_ble_device *ble_dev, uint8_t *data, size_t size, int milliseconds)
 Read data from the ble file descriptor, if any, from the given bledevice. More...
 
static XRT_MAYBE_UNUSED void os_ble_destroy (struct os_ble_device **ble_dev_ptr)
 Close and free the given device, does null checking and zeroing. More...
 
int os_ble_notify_open (const char *dev_uuid, const char *char_uuid, struct os_ble_device **out_ble)
 Returns a notification endpoint from the given device uuid and char uuid. More...
 
int os_ble_broadcast_write_value (const char *service_uuid, const char *char_uuid, uint8_t value)
 Returns write startpoints from the given device uuid and char uuid. More...
 

Detailed Description

Wrapper around OS native BLE functions.

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