mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
hids_service: add include and c++ guards
This commit is contained in:
parent
405014fb5c
commit
bb880bddc2
@ -34,16 +34,22 @@
|
||||
* contact@bluekitchen-gmbh.com
|
||||
*
|
||||
*/
|
||||
#ifndef __HIDS_DEVICE_H
|
||||
#define __HIDS_DEVICE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "btstack_defines.h"
|
||||
#include "bluetooth.h"
|
||||
|
||||
#if defined __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Implementation of the GATT HIDS Device
|
||||
* To use with your application, add '#import <hids.gatt>' to your .gatt file
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "btstack_defines.h"
|
||||
#include "bluetooth.h"
|
||||
|
||||
/**
|
||||
* @brief Set up HIDS Device
|
||||
*/
|
||||
@ -86,3 +92,9 @@ void hids_device_send_boot_mouse_input_report(hci_con_handle_t con_handle, const
|
||||
* @brief Send HID Boot Mouse Input Report
|
||||
*/
|
||||
void hids_device_send_boot_keyboard_input_report(hci_con_handle_t con_handle, const uint8_t * report, uint16_t report_len);
|
||||
|
||||
#if defined __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user