MissionControl/btdrv-mitm/source/bluetooth/bluetooth_ble.hpp

19 lines
475 B
C++

#pragma once
#include <switch.h>
#include <stratosphere.hpp>
namespace ams::bluetooth::ble {
bool IsInitialized(void);
os::SystemEventType *GetSystemEvent(void);
os::SystemEventType *GetForwardEvent(void);
os::SystemEventType *GetUserForwardEvent(void);
Result Initialize(Handle eventHandle);
void Finalize(void);
Result GetEventInfo(ncm::ProgramId program_id, BleEventType *type, u8* buffer, size_t size);
void HandleEvent(void);
}