~aleteoryx/muditaos

ref: e1918179530e87b040b8c52f525ff3b66b4e26ba muditaos/module-bluetooth/Bluetooth/BtCommand.hpp -rw-r--r-- 493 bytes
e1918179 — SP2FET [EGD-5480] Bluetooth scan refactor 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once
#include <FreeRTOS.h>
#include <task.h>

#include "Error.hpp"
#include <functional>
#include <btstack_run_loop.h>
#include <string>

namespace bluetooth
{

    auto set_name(std::string &name) -> Error;
    namespace PAN
    {
        auto bnep_start() -> Error;
        auto bnep_setup() -> Error;
    } // namespace PAN
};    // namespace Bt