mirror of https://github.com/labapart/gattlib
Reduces compilation warnings
parent
7f32f5c346
commit
9c7382b215
|
@ -3,6 +3,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/queue.h>
|
#include <sys/queue.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <bluetooth/bluetooth.h>
|
#include <bluetooth/bluetooth.h>
|
||||||
#include <bluetooth/hci.h>
|
#include <bluetooth/hci.h>
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <readline/readline.h>
|
||||||
|
|
||||||
void notification_handler(uint16_t handle, const uint8_t* data, size_t data_length, void* user_data);
|
void notification_handler(uint16_t handle, const uint8_t* data, size_t data_length, void* user_data);
|
||||||
void indication_handler(uint16_t handle, const uint8_t* data, size_t data_length, void* user_data);
|
void indication_handler(uint16_t handle, const uint8_t* data, size_t data_length, void* user_data);
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
*
|
*
|
||||||
* GattLib - GATT Library
|
* GattLib - GATT Library
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Olivier Martin <olivier@labapart.org>
|
* Copyright (C) 2016-2017 Olivier Martin <olivier@labapart.org>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "gattlib.h"
|
#include "gattlib.h"
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
*
|
*
|
||||||
* GattLib - GATT Library
|
* GattLib - GATT Library
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Olivier Martin <olivier@labapart.org>
|
* Copyright (C) 2016-2017 Olivier Martin <olivier@labapart.org>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
*
|
*
|
||||||
* GattLib - GATT Library
|
* GattLib - GATT Library
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Olivier Martin <olivier@labapart.org>
|
* Copyright (C) 2016-2017 Olivier Martin <olivier@labapart.org>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -34,6 +34,8 @@
|
||||||
#include "att.h"
|
#include "att.h"
|
||||||
#include "btio.h"
|
#include "btio.h"
|
||||||
#include "gattrib.h"
|
#include "gattrib.h"
|
||||||
|
#include "hci.h"
|
||||||
|
#include "hci_lib.h"
|
||||||
|
|
||||||
#define CONNECTION_TIMEOUT 2
|
#define CONNECTION_TIMEOUT 2
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
*
|
*
|
||||||
* GattLib - GATT Library
|
* GattLib - GATT Library
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 Olivier Martin <olivier@labapart.org>
|
* Copyright (C) 2016-2017 Olivier Martin <olivier@labapart.org>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -26,6 +26,8 @@
|
||||||
#include "gattlib_internal.h"
|
#include "gattlib_internal.h"
|
||||||
|
|
||||||
#include "att.h"
|
#include "att.h"
|
||||||
|
#include "gattrib.h"
|
||||||
|
#include "gatt.h"
|
||||||
|
|
||||||
struct gattlib_result_read_uuid_t {
|
struct gattlib_result_read_uuid_t {
|
||||||
void* buffer;
|
void* buffer;
|
||||||
|
|
Loading…
Reference in New Issue