MissionControl/btdrv-mitm/source/btdrv_shim.h

30 lines
1 KiB
C
Raw Normal View History

#pragma once
#include <switch.h>
#ifdef __cplusplus
extern "C" {
#endif
2020-05-22 10:29:36 +00:00
Result btdrvInitializeBluetoothFwd(Service* s, Handle *out_handle);
Result btdrvFinalizeBluetoothFwd(Service* s);
2020-06-09 19:58:32 +00:00
Result btdrvCancelBondFwd(Service* s, const BluetoothAddress *address);
2020-05-22 10:29:36 +00:00
Result btdrvGetEventInfoFwd(Service* s, BluetoothEventType *type, u8 *buffer, size_t size);
Result btdrvInitializeHidFwd(Service* s, Handle *out_handle, u16 version);
Result btdrvWriteHidDataFwd(Service* s, const BluetoothAddress *address, const BluetoothHidData *data);
//Result btdrvGetPairedDeviceInfoFwd(Service* s, const BluetoothAddress *address, BluetoothDevicesSettings *device);
2020-05-22 10:29:36 +00:00
Result btdrvFinalizeHidFwd(Service* s);
Result btdrvGetHidEventInfoFwd(Service* s, HidEventType *type, u8 *buffer, size_t size);
Result btdrvRegisterHidReportEventFwd(Service* s, Handle *out_handle);
Result btdrvGetHidReportEventInfoFwd(Service* s, Handle *out_handle);
Result btdrvInitializeBleFwd(Service* s, Handle *out_handle);
Result btdrvFinalizeBleFwd(Service* s);
#ifdef __cplusplus
}
2020-05-22 10:29:36 +00:00
#endif