mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
enable BLE in configure for daemon
This commit is contained in:
parent
910bd8e0ac
commit
87a0f31a89
@ -269,6 +269,7 @@ fi
|
|||||||
echo "#define HAVE_TIME" >> btstack-config.h
|
echo "#define HAVE_TIME" >> btstack-config.h
|
||||||
echo "#define HAVE_MALLOC" >> btstack-config.h
|
echo "#define HAVE_MALLOC" >> btstack-config.h
|
||||||
echo "#define HAVE_BZERO" >> 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_INFO " >> btstack-config.h
|
||||||
echo "#define ENABLE_LOG_ERROR" >> btstack-config.h
|
echo "#define ENABLE_LOG_ERROR" >> btstack-config.h
|
||||||
echo "#define HCI_ACL_PAYLOAD_SIZE 1021" >> btstack-config.h
|
echo "#define HCI_ACL_PAYLOAD_SIZE 1021" >> btstack-config.h
|
||||||
|
@ -32,7 +32,10 @@ BTdaemon_SOURCES = $(libBTstack_SOURCES) \
|
|||||||
sdp_parser.c \
|
sdp_parser.c \
|
||||||
sdp_query_rfcomm.c \
|
sdp_query_rfcomm.c \
|
||||||
sdp_query_util.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
|
# use $(CC) for Objective-C files
|
||||||
.m.o:
|
.m.o:
|
||||||
|
@ -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;
|
gatt_complete_event_t * complete_event = (gatt_complete_event_t *) le_event;
|
||||||
|
|
||||||
#if defined(HAVE_MALLOC)
|
#if defined(HAVE_MALLOC)
|
||||||
uint16_t data_length;
|
|
||||||
uint8_t * data;
|
uint8_t * data;
|
||||||
gatt_client_helper_t * gatt_client_helper;
|
gatt_client_helper_t * gatt_client_helper;
|
||||||
uint8_t gatt_chunk = 0;
|
uint8_t gatt_chunk = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user