diff --git a/configure.in b/configure.in index 65bee04ba..c478bbf51 100644 --- a/configure.in +++ b/configure.in @@ -269,6 +269,7 @@ fi echo "#define HAVE_TIME" >> btstack-config.h echo "#define HAVE_MALLOC" >> btstack-config.h echo "#define HAVE_BZERO" >> btstack-config.h +echo "#define HAVE_BLE" >> btstack-config.h echo "#define ENABLE_LOG_INFO " >> btstack-config.h echo "#define ENABLE_LOG_ERROR" >> btstack-config.h echo "#define HCI_ACL_PAYLOAD_SIZE 1021" >> btstack-config.h diff --git a/src/Makefile.in b/src/Makefile.in index 0c6da26f3..b0740d247 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -32,7 +32,10 @@ BTdaemon_SOURCES = $(libBTstack_SOURCES) \ sdp_parser.c \ sdp_query_rfcomm.c \ sdp_query_util.c \ - $(springboard_access_sources) + $(springboard_access_sources) \ + ../ble/att_dispatch.c \ + ../ble/gatt_client.c \ + # use $(CC) for Objective-C files .m.o: diff --git a/src/daemon.c b/src/daemon.c index 89cf1a317..16fb3d473 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -1096,7 +1096,6 @@ static void handle_gatt_client_event(le_event_t * le_event){ gatt_complete_event_t * complete_event = (gatt_complete_event_t *) le_event; #if defined(HAVE_MALLOC) - uint16_t data_length; uint8_t * data; gatt_client_helper_t * gatt_client_helper; uint8_t gatt_chunk = 0;