mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 06:44:32 +00:00
renamed central_device_db* files into le_device_db*
This commit is contained in:
parent
c5d3944d90
commit
3a3e1c9119
@ -34,7 +34,7 @@ COMMON = \
|
||||
${BTSTACK_ROOT}/ble/att_server.c \
|
||||
${BTSTACK_ROOT}/ble/l2cap_le.c \
|
||||
${BTSTACK_ROOT}/ble/sm.c \
|
||||
${BTSTACK_ROOT}/ble/central_device_db_memory.c \
|
||||
${BTSTACK_ROOT}/ble/le_device_db_memory.c \
|
||||
${BTSTACK_ROOT}/chipset-cc256x/bt_control_cc256x.c \
|
||||
${BTSTACK_ROOT}/chipset-cc256x/bluetooth_init_cc2564_2.10.c \
|
||||
${BTSTACK_ROOT}/src/hci_transport_h4_ehcill_dma.c \
|
||||
|
@ -76,7 +76,7 @@
|
||||
#include "att.h"
|
||||
#include "att_server.h"
|
||||
#include "gap_le.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
|
||||
#define FONT_HEIGHT 12 // Each character has 13 lines
|
||||
#define FONT_WIDTH 8
|
||||
@ -292,8 +292,8 @@ int main(void)
|
||||
// set up l2cap_le
|
||||
l2cap_init();
|
||||
|
||||
// setup central device db
|
||||
central_device_db_init();
|
||||
// setup le device db
|
||||
le_device_db_init();
|
||||
|
||||
// setup SM: Display only
|
||||
sm_init();
|
||||
|
@ -52,14 +52,6 @@
|
||||
#include "gatt_client.h"
|
||||
#include "sm.h"
|
||||
|
||||
// #include "btstack_memory.h"
|
||||
// #include "hci.h"
|
||||
// #include "hci_dump.h"
|
||||
// #include "l2cap.h"
|
||||
// #include "att_server.h"
|
||||
// #include "central_device_db.h"
|
||||
|
||||
|
||||
// ancs_client.h Start
|
||||
typedef enum ancs_chunk_parser_state {
|
||||
W4_ATTRIBUTE_ID,
|
||||
|
@ -59,7 +59,7 @@
|
||||
#include "att.h"
|
||||
#include "att_dispatch.h"
|
||||
#include "gap_le.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
|
||||
#include "att_server.h"
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
@ -34,7 +34,7 @@
|
||||
* contact@bluekitchen-gmbh.com
|
||||
*
|
||||
*/
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
|
||||
// Central Device db interface
|
||||
void le_device_db_init(){}
|
2
ble/sm.c
2
ble/sm.c
@ -42,7 +42,7 @@
|
||||
#include "debug.h"
|
||||
#include "hci.h"
|
||||
#include "l2cap.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
#include "sm.h"
|
||||
#include "gap_le.h"
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include "debug.h"
|
||||
#include "hci.h"
|
||||
#include "l2cap.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
#include "sm.h"
|
||||
#include "gap_le.h"
|
||||
|
||||
|
@ -1257,8 +1257,8 @@ void setup(void){
|
||||
// set up l2cap_le
|
||||
l2cap_init();
|
||||
|
||||
// setup central device db
|
||||
central_device_db_init();
|
||||
// setup le device db
|
||||
le_device_db_init();
|
||||
|
||||
// setup SM: Display only
|
||||
sm_init();
|
||||
|
@ -40,8 +40,8 @@ void setup(void){
|
||||
|
||||
hci_ssp_set_io_capability(SSP_IO_CAPABILITY_DISPLAY_YES_NO);
|
||||
|
||||
// setup central device db
|
||||
central_device_db_init();
|
||||
// setup le device db
|
||||
le_device_db_init();
|
||||
|
||||
// setup SM: Display only
|
||||
sm_init();
|
||||
|
@ -47,11 +47,11 @@ GATT_CLIENT += \
|
||||
|
||||
SM_REAL += \
|
||||
sm.c \
|
||||
central_device_db_memory.c \
|
||||
le_device_db_memory.c \
|
||||
|
||||
SM_MINIMAL += \
|
||||
sm_minimal.c \
|
||||
central_device_db_dummy.c \
|
||||
le_db_dummy.c \
|
||||
|
||||
PAN += \
|
||||
pan.c \
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
#include "att.h"
|
||||
#include "att_server.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
#include "gap_le.h"
|
||||
#include "gatt_client.h"
|
||||
#include "sm.h"
|
||||
|
@ -63,7 +63,7 @@
|
||||
#include "att.h"
|
||||
#include "att_server.h"
|
||||
#include "gap_le.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
|
||||
#define HEARTBEAT_PERIOD_MS 1000
|
||||
|
||||
|
@ -65,7 +65,7 @@
|
||||
|
||||
#include "att.h"
|
||||
#include "att_server.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
#include "gap_le.h"
|
||||
#include "sm.h"
|
||||
|
||||
|
@ -73,7 +73,7 @@ SDP_CLIENT += \
|
||||
BLE = \
|
||||
att.c \
|
||||
att_server.c \
|
||||
central_device_db_memory.c \
|
||||
le_device_db_memory.c \
|
||||
sm.c \
|
||||
att_dispatch.c \
|
||||
l2cap_le.c \
|
||||
|
@ -7,7 +7,7 @@ COMMON += hci_transport_h2_libusb.c run_loop_posix.c remote_device_db_fs.c
|
||||
|
||||
|
||||
include ${BTSTACK_ROOT}/example/embedded/Makefile.inc
|
||||
|
||||
# CC = gcc-fsf-4.9
|
||||
CFLAGS += -g -Wall
|
||||
# CFLAGS += -Werror
|
||||
|
||||
@ -29,4 +29,6 @@ ifneq ($(OS),Windows_NT)
|
||||
EXAMPLES += ${EXAMPLES_CLI}
|
||||
endif
|
||||
|
||||
EXAMPLES += sam3u_benchmark
|
||||
|
||||
all: ${BTSTACK_ROOT}/include/btstack/version.h ${EXAMPLES}
|
||||
|
@ -73,7 +73,7 @@ SDP_CLIENT += \
|
||||
BLE = \
|
||||
att.c \
|
||||
att_server.c \
|
||||
central_device_db_memory.c \
|
||||
le_device_db_memory.c \
|
||||
sm.c \
|
||||
att_dispatch.c \
|
||||
l2cap_le.c \
|
||||
|
@ -72,7 +72,7 @@
|
||||
#include "att.h"
|
||||
#include "att_server.h"
|
||||
#include "gap_le.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
|
||||
#define FONT_HEIGHT 12 // Each character has 13 lines
|
||||
#define FONT_WIDTH 8
|
||||
@ -256,8 +256,8 @@ int btstack_main(int argc, const char * argv[]){
|
||||
// set up l2cap_le
|
||||
l2cap_init();
|
||||
|
||||
// setup central device db
|
||||
central_device_db_init();
|
||||
// setup le device db
|
||||
le_device_db_init();
|
||||
|
||||
// setup SM: Display only
|
||||
sm_init();
|
||||
|
@ -75,7 +75,7 @@ SDP_CLIENT += \
|
||||
BLE = \
|
||||
att.c \
|
||||
att_server.c \
|
||||
central_device_db_memory.c \
|
||||
le_device_db_memory.c \
|
||||
sm.c \
|
||||
att_dispatch.c \
|
||||
l2cap_le.c \
|
||||
|
@ -70,7 +70,7 @@
|
||||
#include "att.h"
|
||||
#include "att_server.h"
|
||||
#include "gap_le.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
|
||||
#define FONT_HEIGHT 12 // Each character has 13 lines
|
||||
#define FONT_WIDTH 8
|
||||
@ -229,8 +229,8 @@ int btstack_main(int argc, const char * argv[]){
|
||||
// set up l2cap_le
|
||||
l2cap_init();
|
||||
|
||||
// setup central device db
|
||||
central_device_db_init();
|
||||
// setup le device db
|
||||
le_device_db_init();
|
||||
|
||||
// setup SM: Display only
|
||||
sm_init();
|
||||
|
@ -33,7 +33,7 @@ libBTstack_OBJS = \
|
||||
|
||||
BTdaemon_OBJS = $(libBTstack_OBJS) \
|
||||
att_dispatch.o \
|
||||
central_device_db_memory.o \
|
||||
ledevice_db_memory.o \
|
||||
att.o \
|
||||
att_server.o \
|
||||
gatt_client.o \
|
||||
|
@ -46,7 +46,7 @@ BTdaemon_SOURCES = \
|
||||
$(BTSTACK_ROOT)/ble/att.c \
|
||||
$(BTSTACK_ROOT)/ble/att_server.c \
|
||||
$(BTSTACK_ROOT)/ble/sm.c \
|
||||
$(BTSTACK_ROOT)/ble/central_device_db_memory.c \
|
||||
$(BTSTACK_ROOT)/ble/le_device_db_memory.c \
|
||||
$(usb_sources) \
|
||||
$(remote_device_db_sources) \
|
||||
|
||||
|
@ -78,7 +78,7 @@
|
||||
#include "gatt_client.h"
|
||||
#include "att_server.h"
|
||||
#include "att.h"
|
||||
#include "central_device_db.h"
|
||||
#include "le_device_db.h"
|
||||
#include "sm.h"
|
||||
#endif
|
||||
|
||||
@ -1814,7 +1814,7 @@ int main (int argc, char * const * argv){
|
||||
// sm_set_authentication_requirements( SM_AUTHREQ_BONDING | SM_AUTHREQ_MITM_PROTECTION);
|
||||
|
||||
// GATT Server - empty attribute database
|
||||
central_device_db_init();
|
||||
le_device_db_init();
|
||||
att_server_init(NULL, NULL, NULL);
|
||||
|
||||
#endif
|
||||
|
@ -43,7 +43,7 @@ COMMON = \
|
||||
BLE = \
|
||||
att.c \
|
||||
att_server.c \
|
||||
central_device_db_memory.c \
|
||||
le_device_db_memory.c \
|
||||
sm.c \
|
||||
att_dispatch.c \
|
||||
# gatt_client.c \
|
||||
|
@ -20,7 +20,7 @@ COMMON = \
|
||||
${BTSTACK_ROOT}/src/hci_cmds.c \
|
||||
${BTSTACK_ROOT}/src/hci_dump.c \
|
||||
${BTSTACK_ROOT}/ble/sm.c \
|
||||
${BTSTACK_ROOT}/ble/central_device_db_memory.c \
|
||||
${BTSTACK_ROOT}/ble/le_device_db_memory.c \
|
||||
rijndael.c \
|
||||
mock.c
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user