#define __DEF_BT_HID_AGENT_H_
#define FUNCTION_TRACE
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <stdio.h>
#include <dlog.h>
#include <glib.h>
char *path;
} bt_hid_agent_info_t;
-typedef struct {
- unsigned char b[6];
-} __attribute__((packed)) bdaddr_t;
-
-/* Remote socket address */
-struct sockaddr_remote {
- sa_family_t family;
- bdaddr_t remote_bdaddr;
- uint8_t channel;
-};
-
bt_hid_agent_error_t _bt_hid_disconnect_profile(void);
+#ifdef __cplusplus
+}
+#endif
#endif /* __DEF_BT_HID_AGENT_H_ */