MetaWear C++ API  0.18.0
C++ implementation of the MetaWear protocol
Classes | Typedefs | Enumerations
btle_connection.h File Reference

Platform agnostic wrappers for Bluetooth Low Energy communication. More...

#include <stdint.h>

Go to the source code of this file.

Classes

struct  MblMwGattChar
 UUIDs identifying a gatt characteristic and its parent service. More...
 
struct  MblMwBtleConnection
 Wrapper class containing functions for communicating with the MetaWear through a Bluetooth Low Energy connection. More...
 

Typedefs

typedef int32_t(* MblMwFnIntVoidPtrArray) (const void *caller, const uint8_t *start, uint8_t length)
 Definition for callback functions that accept a void pointer and byte array. More...
 
typedef void(* MblMwFnVoidVoidPtrInt) (const void *caller, int32_t value)
 Definition for callback functions that accept a void pointer and an int32. More...
 

Enumerations

enum  MblMwGattCharWriteType { MBL_MW_GATT_CHAR_WRITE_WITH_RESPONSE = 0, MBL_MW_GATT_CHAR_WRITE_WITHOUT_RESPONSE }
 Write types for the GATT characteristic.
 

Detailed Description

Platform agnostic wrappers for Bluetooth Low Energy communication.

Typedef Documentation

◆ MblMwFnIntVoidPtrArray

typedef int32_t(* MblMwFnIntVoidPtrArray) (const void *caller, const uint8_t *start, uint8_t length)

Definition for callback functions that accept a void pointer and byte array.

Parameters
callerObject the callback is designated for
startPointer to the beginning of the byte array
lengthLength of the byte array

◆ MblMwFnVoidVoidPtrInt

typedef void(* MblMwFnVoidVoidPtrInt) (const void *caller, int32_t value)

Definition for callback functions that accept a void pointer and an int32.

Parameters
callerObject the callback is designated for
valueAdditional value passed to the function for context specific callbacks