renamed central_device_db* files into le_device_db*

This commit is contained in:
matthias.ringwald@gmail.com 2015-03-02 21:40:56 +00:00
parent c5d3944d90
commit 3a3e1c9119
26 changed files with 36 additions and 42 deletions

View File

@ -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 \

View File

@ -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();

View File

@ -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,

View File

@ -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"

View File

@ -35,7 +35,7 @@
*
*/
#include "central_device_db.h"
#include "le_device_db.h"
#include <stdio.h>
#include <string.h>

View File

@ -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(){}

View File

@ -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"

View File

@ -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"

View File

@ -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();

View File

@ -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();

View File

@ -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 \

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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 \

View File

@ -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}

View File

@ -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 \

View File

@ -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();

View File

@ -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 \

View File

@ -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();

View File

@ -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 \

View File

@ -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) \

View File

@ -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

View File

@ -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 \

View File

@ -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