2020-05-11 20:30:08 +00:00
|
|
|
#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);
|
2020-06-02 21:24:40 +00:00
|
|
|
|
|
|
|
//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);
|
2020-05-11 20:30:08 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2020-05-22 10:29:36 +00:00
|
|
|
#endif
|