hids_service: add include and c++ guards

This commit is contained in:
Matthias Ringwald 2018-09-25 08:16:00 +02:00
parent 405014fb5c
commit bb880bddc2

View File

@ -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