simplersble 0.12.2-dev5

The all-in-one Bluetooth library that makes it easy to add wireless connectivity to your projects.
Documentation
#include <simpleble/Utils.h>
#if SIMPLEBLE_BACKEND_MACOS || SIMPLEBLE_BACKEND_IOS
#include "TargetConditionals.h"
#endif

namespace SimpleBLE {

OperatingSystem get_operating_system() {
#ifdef _WIN32
    return OperatingSystem::WINDOWS;
#elif TARGET_OS_OSX
    return OperatingSystem::MACOS;
#elif TARGET_OS_IOS
    return OperatingSystem::IOS;
#elif __linux__
    return OperatingSystem::LINUX;
#elif __ANDROID__
    return OperatingSystem::ANDROID;
#endif
}

std::string get_simpleble_version() { return SIMPLEBLE_VERSION; }

}  // namespace SimpleBLE