InfiniTime.git

ref: 0195ece317d15bcba7dfbd74b58bb8dbcd3bca0a

src/Components/Ble/BleController.h


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <FreeRTOS.h>
#include <queue.h>

namespace Pinetime {
  namespace Controllers {
    class Ble {
      public:

        Ble() = default;
        bool IsConnected() const {return isConnected;}
        void Connect();
        void Disconnect();
      private:
        bool isConnected = false;

    };
  }
}