simplersble 0.14.1-dev49

The all-in-one Bluetooth library that makes it easy to add wireless connectivity to your projects.
Documentation
#pragma once

#import <CoreBluetooth/CoreBluetooth.h>
#import <Foundation/Foundation.h>

#include <functional>
#import "AdapterMac.h"

@interface AdapterBaseMacOS : NSObject<CBCentralManagerDelegate>

@property NSString* uuid;

- (bool)isBluetoothEnabled;

- (instancetype)init:(SimpleBLE::AdapterMac*)adapter;

- (void*)underlying;

- (void)powerOn;
- (void)powerOff;
- (bool)isPowered;

- (void)scanStart;
- (void)scanStop;
- (bool)scanIsActive;

- (NSString*)address;

@end