simplersble 1.0.1-dev15

The all-in-one Bluetooth library that makes it easy to add wireless connectivity to your projects.
Documentation
#include <gmock/gmock.h>
#include <gtest/gtest.h>

#include <iostream>

#include <simpleble/Utils.h>

TEST(Utils, GetOS) {
    switch (SimpleBLE::get_operating_system()) {
        case SimpleBLE::OperatingSystem::WINDOWS:
            std::cout << "Windows" << std::endl;
            break;
        case SimpleBLE::OperatingSystem::LINUX:
            std::cout << "Linux" << std::endl;
            break;
        case SimpleBLE::OperatingSystem::MACOS:
            std::cout << "MacOS" << std::endl;
            break;
    }
}

TEST(Utils, GetSimpleBLEVersion) {
    std::cout << "SimpleBLE version: " << SimpleBLE::get_simpleble_version() << std::endl;
}