2020-05-11 22:30:08 +02:00
|
|
|
#pragma once
|
|
|
|
#include <switch.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-06-15 11:05:41 +02:00
|
|
|
Result btdrvInitializeBluetoothFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvFinalizeBluetoothFwd(Service* srv);
|
|
|
|
Result btdrvInitializeHidFwd(Service* srv, Handle *out_handle, u16 version);
|
|
|
|
Result btdrvWriteHidDataFwd(Service* srv, const BluetoothAddress *address, const BluetoothHidData *data);
|
2020-07-09 21:23:48 +02:00
|
|
|
//Result btdrvSetHidReportFwd(Service* srv, const BluetoothAddress *address, BluetoothHhReportType type, const BluetoothHidData *data);
|
|
|
|
//Result btdrvGetHidReportFwd(Service* srv, const BluetoothAddress *address, BluetoothHhReportType type, u8 id);
|
2020-06-22 23:14:54 +02:00
|
|
|
Result btdrvGetPairedDeviceInfoFwd(Service* srv, const BluetoothAddress *address, BluetoothDevicesSettings *device);
|
2020-06-15 11:05:41 +02:00
|
|
|
Result btdrvFinalizeHidFwd(Service* srv);
|
|
|
|
Result btdrvRegisterHidReportEventFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvGetHidReportEventInfoFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvInitializeBleFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvFinalizeBleFwd(Service* srv);
|
2020-05-11 22:30:08 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2020-05-22 12:29:36 +02:00
|
|
|
#endif
|