From 7907f06931c075b55e3402fa469abbe35eebee25 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 21 Jan 2016 15:41:16 +0100 Subject: [PATCH] btstack-config.h -> btstack_config.h --- chipset/bcm/bt_control_bcm.c | 2 +- chipset/cc256x/ant_cmd.c | 2 +- chipset/cc256x/bt_control_cc256x.c | 2 +- chipset/em9301/bt_control_em9301.c | 2 +- chipset/stlc2500d/bt_control_stlc2500d.c | 2 +- chipset/tc3556x/bt_control_tc3566x.c | 2 +- doc/manual/docs/how_to.md | 2 +- doc/manual/docs/porting.md | 4 +- example/embedded/ancs_client_demo.c | 2 +- example/embedded/gap_dedicated_bonding.c | 2 +- example/embedded/gap_inquiry.c | 2 +- example/embedded/gap_inquiry_and_bond.c | 2 +- example/embedded/gatt_battery_query.c | 2 +- example/embedded/gatt_browser.c | 2 +- example/embedded/hsp_hs_test.c | 2 +- example/embedded/le_counter.c | 2 +- example/embedded/le_streamer.c | 2 +- example/embedded/panu_demo.c | 2 +- example/embedded/sdp_bnep_query.c | 2 +- example/embedded/sdp_general_query.c | 2 +- example/embedded/sdp_rfcomm_query.c | 2 +- example/embedded/spp_and_le_counter.c | 2 +- example/embedded/spp_counter.c | 2 +- example/embedded/spp_flowcontrol.c | 2 +- example/embedded/spp_streamer.c | 2 +- platform/daemon/btstack_client.h | 2 +- platform/daemon/daemon.c | 2 +- platform/daemon/socket_connection.c | 2 +- platform/embedded/btstack_run_loop_embedded.h | 2 +- .../hci_transport_h4_ehcill_embedded.c | 2 +- platform/posix/hci_transport_h4_posix.c | 2 +- port/arduino/Makefile | 2 +- .../{btstack-config.h => btstack_config.h} | 0 port/daemon/.gitignore | 2 +- port/daemon/configure.ac | 80 +++++++++---------- .../{btstack-config.h => btstack_config.h} | 0 port/ez430-rf2560/example/ant-test.c | 2 +- port/ez430-rf2560/example/spp_accel.c | 2 +- port/ez430-rf2560/src/main.c | 2 +- port/ios/Makefile | 2 +- .../{btstack-config.h => btstack_config.h} | 2 +- port/ios/src/bt_control_iphone.m | 2 +- port/ios/src/hci_transport_h4_iphone.c | 2 +- port/ios/src/platform_iphone.m | 2 +- .../{btstack-config.h => btstack_config.h} | 0 port/libusb/hci_transport_h2_libusb.c | 2 +- port/libusb/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 0 .../example/ant-test.c | 2 +- .../example/ble_server.c | 2 +- .../example/spp_accel.c | 2 +- port/msp-exp430f5438-cc2564b/src/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 0 .../example/ble_server.c | 2 +- port/msp430f5229lp-cc2564b/src/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 2 +- port/mtk/hci_transport_h4_mtk.c | 2 +- .../app.X/nbproject/configurations.xml | 2 +- .../{btstack-config.h => btstack_config.h} | 0 .../{btstack-config.h => btstack_config.h} | 0 port/posix-cc2564b/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 0 port/posix-csr/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 0 port/posix-h4/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 0 port/posix-stlc2500d/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 0 port/posix-tc35661/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 0 port/posix-wl183x/main.c | 2 +- .../{btstack-config.h => btstack_config.h} | 0 .../{btstack-config.h => btstack_config.h} | 0 port/wiced/btstack_run_loop_wiced.h | 2 +- port/wiced/hci_transport_h4_wiced.c | 2 +- src/ble/ad_parser.h | 2 +- src/ble/ancs_client.c | 2 +- src/ble/att_db_util.h | 2 +- src/ble/att_server.c | 2 +- src/ble/gatt_client.c | 2 +- src/btstack.h | 2 +- src/btstack_debug.h | 2 +- src/btstack_memory.h | 2 +- src/btstack_run_loop.c | 2 +- src/btstack_run_loop.h | 2 +- src/btstack_util.c | 2 +- src/classic/hfp.c | 2 +- src/classic/hfp_ag.c | 2 +- src/classic/hfp_gsm_model.c | 2 +- src/classic/hfp_hf.c | 2 +- src/classic/hsp_ag.c | 2 +- src/classic/hsp_hs.c | 2 +- src/classic/pan.c | 2 +- src/classic/sdp.h | 2 +- src/classic/sdp_client.c | 2 +- src/classic/sdp_client.h | 2 +- src/classic/sdp_parser.h | 2 +- src/classic/sdp_util.c | 2 +- src/hci.c | 2 +- src/hci.h | 2 +- src/hci_cmd.c | 2 +- src/hci_dump.c | 2 +- src/l2cap_signaling.c | 2 +- test/{btstack-config.h => btstack_config.h} | 0 test/hfp/hfp_ag_client_test.c | 2 +- test/hfp/hfp_hf_client_test.c | 2 +- test/pts/ble_central_test.c | 2 +- test/pts/ble_peripheral_test.c | 2 +- test/pts/bnep_test.c | 2 +- test/pts/classic_test.c | 2 +- test/pts/hfp_hf_test.c | 2 +- test/pts/hfp_test.c | 2 +- test/pts/hsp_hs_test.c | 2 +- test/pts/l2cap_test.c | 2 +- .../remote_device_db_fs_test.c | 2 +- .../remote_device_db_memory_test.c | 2 +- test/sdp_client/general_sdp_query.c | 2 +- test/sdp_client/sdp_rfcomm_query.c | 2 +- .../service_attribute_search_query.c | 2 +- test/sdp_client/service_search_query.c | 2 +- tool/btstack_memory_generator.py | 2 +- tool/update_copyright.py | 2 +- 122 files changed, 147 insertions(+), 147 deletions(-) rename port/arduino/{btstack-config.h => btstack_config.h} (100%) rename port/ez430-rf2560/{btstack-config.h => btstack_config.h} (100%) rename port/ios/{btstack-config.h => btstack_config.h} (96%) rename port/libusb/{btstack-config.h => btstack_config.h} (100%) rename port/msp-exp430f5438-cc2564b/{btstack-config.h => btstack_config.h} (100%) rename port/msp430f5229lp-cc2564b/{btstack-config.h => btstack_config.h} (100%) rename port/mtk/{btstack-config.h => btstack_config.h} (90%) rename port/pic32-harmony/src/{btstack-config.h => btstack_config.h} (100%) rename port/posix-cc2564b/{btstack-config.h => btstack_config.h} (100%) rename port/posix-csr/{btstack-config.h => btstack_config.h} (100%) rename port/posix-h4/{btstack-config.h => btstack_config.h} (100%) rename port/posix-stlc2500d/{btstack-config.h => btstack_config.h} (100%) rename port/posix-tc35661/{btstack-config.h => btstack_config.h} (100%) rename port/posix-wl183x/{btstack-config.h => btstack_config.h} (100%) rename port/stm32-f103rb-nucleo/{btstack-config.h => btstack_config.h} (100%) rename port/wiced/{btstack-config.h => btstack_config.h} (100%) rename test/{btstack-config.h => btstack_config.h} (100%) diff --git a/chipset/bcm/bt_control_bcm.c b/chipset/bcm/bt_control_bcm.c index c807d932f..a492f6d1c 100644 --- a/chipset/bcm/bt_control_bcm.c +++ b/chipset/bcm/bt_control_bcm.c @@ -41,7 +41,7 @@ */ -#include "btstack-config.h" +#include "btstack_config.h" #include "bt_control_bcm.h" #include /* NULL */ diff --git a/chipset/cc256x/ant_cmd.c b/chipset/cc256x/ant_cmd.c index e71291324..05ffe7930 100644 --- a/chipset/cc256x/ant_cmd.c +++ b/chipset/cc256x/ant_cmd.c @@ -42,7 +42,7 @@ #include "ant_cmds.h" #include "classic/sdp_util.h" -#include "btstack-config.h" +#include "btstack_config.h" #include "hci.h" /** diff --git a/chipset/cc256x/bt_control_cc256x.c b/chipset/cc256x/bt_control_cc256x.c index 203d8ced2..f5194a4ca 100644 --- a/chipset/cc256x/bt_control_cc256x.c +++ b/chipset/cc256x/bt_control_cc256x.c @@ -59,7 +59,7 @@ * */ -#include "btstack-config.h" +#include "btstack_config.h" #include "bt_control_cc256x.h" #include /* NULL */ diff --git a/chipset/em9301/bt_control_em9301.c b/chipset/em9301/bt_control_em9301.c index 23ba4775a..bec86edc9 100644 --- a/chipset/em9301/bt_control_em9301.c +++ b/chipset/em9301/bt_control_em9301.c @@ -43,7 +43,7 @@ * Allows to set public BD ADDR */ -#include "btstack-config.h" +#include "btstack_config.h" #include "bt_control_em9301.h" #include /* NULL */ diff --git a/chipset/stlc2500d/bt_control_stlc2500d.c b/chipset/stlc2500d/bt_control_stlc2500d.c index 5221c3056..86739c3e1 100644 --- a/chipset/stlc2500d/bt_control_stlc2500d.c +++ b/chipset/stlc2500d/bt_control_stlc2500d.c @@ -42,7 +42,7 @@ * */ -#include "btstack-config.h" +#include "btstack_config.h" #include "bt_control_stlc2500d.h" #include /* NULL */ diff --git a/chipset/tc3556x/bt_control_tc3566x.c b/chipset/tc3556x/bt_control_tc3566x.c index 33a631b62..b92b94b30 100644 --- a/chipset/tc3556x/bt_control_tc3566x.c +++ b/chipset/tc3556x/bt_control_tc3566x.c @@ -45,7 +45,7 @@ * - Set baud rate */ -#include "btstack-config.h" +#include "btstack_config.h" #include "bt_control_tc3566x.h" #include /* NULL */ diff --git a/doc/manual/docs/how_to.md b/doc/manual/docs/how_to.md index 5ab220d9d..f9f415209 100644 --- a/doc/manual/docs/how_to.md +++ b/doc/manual/docs/how_to.md @@ -308,5 +308,5 @@ In addition to the HCI packets, you can also enable BTstack's debug information #define ENABLE_LOG_INFO #define ENABLE_LOG_ERROR -to the btstack-config.h and recompiling your application. +to the btstack_config.h and recompiling your application. diff --git a/doc/manual/docs/porting.md b/doc/manual/docs/porting.md index cbf8ab0b3..e3ab4bbd7 100644 --- a/doc/manual/docs/porting.md +++ b/doc/manual/docs/porting.md @@ -19,7 +19,7 @@ system tick (as it is the default with CMSIS on ARM Cortex devices), you can use that to implement BTstack’s time abstraction in *include/btstack/hal_tick.h\>*. -For this, you need to define *HAVE_TICK* in *btstack-config.h*: +For this, you need to define *HAVE_TICK* in *btstack_config.h*: #define HAVE_TICK @@ -44,7 +44,7 @@ If your platform already has a system clock or it is more convenient to provide such a clock, you can use the Time MS Hardware Abstraction in *include/btstack/hal_time_ms.h*. -For this, you need to define *HAVE_TIME_MS* in *btstack-config.h*: +For this, you need to define *HAVE_TIME_MS* in *btstack_config.h*: #define HAVE_TIME_MS diff --git a/example/embedded/ancs_client_demo.c b/example/embedded/ancs_client_demo.c index 17792e594..253830c98 100644 --- a/example/embedded/ancs_client_demo.c +++ b/example/embedded/ancs_client_demo.c @@ -50,7 +50,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" diff --git a/example/embedded/gap_dedicated_bonding.c b/example/embedded/gap_dedicated_bonding.c index b88e69e2c..ad639c050 100644 --- a/example/embedded/gap_dedicated_bonding.c +++ b/example/embedded/gap_dedicated_bonding.c @@ -36,7 +36,7 @@ */ -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/example/embedded/gap_inquiry.c b/example/embedded/gap_inquiry.c index 46a7965b8..13939a499 100644 --- a/example/embedded/gap_inquiry.c +++ b/example/embedded/gap_inquiry.c @@ -53,7 +53,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" diff --git a/example/embedded/gap_inquiry_and_bond.c b/example/embedded/gap_inquiry_and_bond.c index 5f63eea68..b45755617 100644 --- a/example/embedded/gap_inquiry_and_bond.c +++ b/example/embedded/gap_inquiry_and_bond.c @@ -46,7 +46,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" diff --git a/example/embedded/gatt_battery_query.c b/example/embedded/gatt_battery_query.c index 9dfc814bc..f199ea70c 100644 --- a/example/embedded/gatt_battery_query.c +++ b/example/embedded/gatt_battery_query.c @@ -48,7 +48,7 @@ #include "btstack_run_loop.h" #include "hci_cmd.h" #include "btstack_util.h" -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_debug.h" #include "btstack_memory.h" diff --git a/example/embedded/gatt_browser.c b/example/embedded/gatt_browser.c index 164961eac..ff6574032 100644 --- a/example/embedded/gatt_browser.c +++ b/example/embedded/gatt_browser.c @@ -59,7 +59,7 @@ #include "hci_cmd.h" #include "btstack_util.h" -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_debug.h" diff --git a/example/embedded/hsp_hs_test.c b/example/embedded/hsp_hs_test.c index d702e79b2..0a0e22477 100644 --- a/example/embedded/hsp_hs_test.c +++ b/example/embedded/hsp_hs_test.c @@ -58,7 +58,7 @@ // - .. // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/example/embedded/le_counter.c b/example/embedded/le_counter.c index 0d5ea91b7..0d7fe5a36 100644 --- a/example/embedded/le_counter.c +++ b/example/embedded/le_counter.c @@ -50,7 +50,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "classic/sdp_util.h" diff --git a/example/embedded/le_streamer.c b/example/embedded/le_streamer.c index 031d19469..92ded8609 100644 --- a/example/embedded/le_streamer.c +++ b/example/embedded/le_streamer.c @@ -54,7 +54,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "classic/sdp_util.h" diff --git a/example/embedded/panu_demo.c b/example/embedded/panu_demo.c index 3bda6c38f..31bf46d25 100644 --- a/example/embedded/panu_demo.c +++ b/example/embedded/panu_demo.c @@ -48,7 +48,7 @@ * service and initiates a BNEP connection. */ -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/example/embedded/sdp_bnep_query.c b/example/embedded/sdp_bnep_query.c index 26ecc2263..7d04d398d 100644 --- a/example/embedded/sdp_bnep_query.c +++ b/example/embedded/sdp_bnep_query.c @@ -44,7 +44,7 @@ */ // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/example/embedded/sdp_general_query.c b/example/embedded/sdp_general_query.c index 252bab665..1b06ed5bf 100644 --- a/example/embedded/sdp_general_query.c +++ b/example/embedded/sdp_general_query.c @@ -43,7 +43,7 @@ */ // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/example/embedded/sdp_rfcomm_query.c b/example/embedded/sdp_rfcomm_query.c index 53fd45972..ded37cb11 100644 --- a/example/embedded/sdp_rfcomm_query.c +++ b/example/embedded/sdp_rfcomm_query.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/example/embedded/spp_and_le_counter.c b/example/embedded/spp_and_le_counter.c index 4f9a838a3..bfd8c7bf5 100644 --- a/example/embedded/spp_and_le_counter.c +++ b/example/embedded/spp_and_le_counter.c @@ -52,7 +52,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "classic/sdp_util.h" diff --git a/example/embedded/spp_counter.c b/example/embedded/spp_counter.c index 2dd4e2b3e..5eab1a919 100644 --- a/example/embedded/spp_counter.c +++ b/example/embedded/spp_counter.c @@ -50,7 +50,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "classic/sdp_util.h" diff --git a/example/embedded/spp_flowcontrol.c b/example/embedded/spp_flowcontrol.c index c617b5b56..5df6daa3a 100644 --- a/example/embedded/spp_flowcontrol.c +++ b/example/embedded/spp_flowcontrol.c @@ -58,7 +58,7 @@ #include "btstack_memory.h" #include "classic/rfcomm.h" #include "classic/sdp.h" -#include "btstack-config.h" +#include "btstack_config.h" #define HEARTBEAT_PERIOD_MS 500 diff --git a/example/embedded/spp_streamer.c b/example/embedded/spp_streamer.c index ff5afd049..b2fd3bcbd 100644 --- a/example/embedded/spp_streamer.c +++ b/example/embedded/spp_streamer.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/platform/daemon/btstack_client.h b/platform/daemon/btstack_client.h index 074a86152..2bf5efd1d 100644 --- a/platform/daemon/btstack_client.h +++ b/platform/daemon/btstack_client.h @@ -52,7 +52,7 @@ #include "btstack_run_loop.h" #include "btstack_util.h" -#include "btstack-config.h" +#include "btstack_config.h" #include diff --git a/platform/daemon/daemon.c b/platform/daemon/daemon.c index 7bc6bac14..685a38091 100644 --- a/platform/daemon/daemon.c +++ b/platform/daemon/daemon.c @@ -44,7 +44,7 @@ * */ -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/platform/daemon/socket_connection.c b/platform/daemon/socket_connection.c index 699233a58..d95e3687e 100644 --- a/platform/daemon/socket_connection.c +++ b/platform/daemon/socket_connection.c @@ -49,7 +49,7 @@ #include "hci.h" #include "btstack_debug.h" -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack.h" #include "btstack_client.h" diff --git a/platform/embedded/btstack_run_loop_embedded.h b/platform/embedded/btstack_run_loop_embedded.h index 5319dad5b..fe2920741 100644 --- a/platform/embedded/btstack_run_loop_embedded.h +++ b/platform/embedded/btstack_run_loop_embedded.h @@ -43,7 +43,7 @@ #ifndef __btstack_run_loop_EMBEDDED_H #define __btstack_run_loop_EMBEDDED_H -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_linked_list.h" #ifdef HAVE_TIME diff --git a/platform/embedded/hci_transport_h4_ehcill_embedded.c b/platform/embedded/hci_transport_h4_ehcill_embedded.c index 926443bb9..3ce207ff8 100644 --- a/platform/embedded/hci_transport_h4_ehcill_embedded.c +++ b/platform/embedded/hci_transport_h4_ehcill_embedded.c @@ -46,7 +46,7 @@ * Created by Matthias Ringwald on 9/16/11. */ -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/platform/posix/hci_transport_h4_posix.c b/platform/posix/hci_transport_h4_posix.c index dff606f5b..b303e62ba 100644 --- a/platform/posix/hci_transport_h4_posix.c +++ b/platform/posix/hci_transport_h4_posix.c @@ -43,7 +43,7 @@ * Created by Matthias Ringwald on 4/29/09. */ -#include "btstack-config.h" +#include "btstack_config.h" #include /* POSIX terminal control definitions */ #include /* File control definitions */ diff --git a/port/arduino/Makefile b/port/arduino/Makefile index 87eaf8276..d5f6c755b 100644 --- a/port/arduino/Makefile +++ b/port/arduino/Makefile @@ -13,7 +13,7 @@ SRC_FILES = btstack_memory.c btstack_linked_list.c btstack_memory_pool.c run_lo SRC_FILES += hci_dump.c hci.c hci_cmd.c btstack_util.c l2cap.c BLE_FILES = ad_parser.c att.c att_server.c att_dispatch.c att_db_util.c le_device_db_memory.c gatt_client.c BLE_FILES += sm.c ancs_client.h ancs_client.c -PORT_FILES = btstack-config.h bsp_arduino_em9301.cpp BTstack.cpp BTstack.h +PORT_FILES = btstack_config.h bsp_arduino_em9301.cpp BTstack.cpp BTstack.h EMBEDDED_FILES = btstack_run_loop_embedded.c hci_transport_h4_embedded.c PATHS = $(addprefix ${BTSTACK_ROOT}/src/, ${SRC_FILES}) diff --git a/port/arduino/btstack-config.h b/port/arduino/btstack_config.h similarity index 100% rename from port/arduino/btstack-config.h rename to port/arduino/btstack_config.h diff --git a/port/daemon/.gitignore b/port/daemon/.gitignore index 9691de175..364eed66f 100644 --- a/port/daemon/.gitignore +++ b/port/daemon/.gitignore @@ -2,7 +2,7 @@ Makefile Makefile.in aclocal.m4 autom4te.cache -btstack-config.h +btstack_config.h config.status config configure diff --git a/port/daemon/configure.ac b/port/daemon/configure.ac index 4caab52ad..201585383 100644 --- a/port/daemon/configure.ac +++ b/port/daemon/configure.ac @@ -117,67 +117,67 @@ echo "HAVE_SO_NOSIGPIPE: $HAVE_SO_NOSIGPIPE" echo echo -# create btstack-config.h -rm -f btstack-config.h -echo "//" >> btstack-config.h -echo "// btstack-config.h" >> btstack-config.h -echo "// created by configure for BTstack " >> btstack-config.h -echo "//" `date` >> btstack-config.h -echo "//" >> btstack-config.h -echo >> btstack-config.h -echo "#ifndef __BTSTACK_CONFIG" >> btstack-config.h -echo "#define __BTSTACK_CONFIG" >> btstack-config.h -echo >> btstack-config.h +# create btstack_config.h +rm -f btstack_config.h +echo "//" >> btstack_config.h +echo "// btstack_config.h" >> btstack_config.h +echo "// created by configure for BTstack " >> btstack_config.h +echo "//" `date` >> btstack_config.h +echo "//" >> btstack_config.h +echo >> btstack_config.h +echo "#ifndef __BTSTACK_CONFIG" >> btstack_config.h +echo "#define __BTSTACK_CONFIG" >> btstack_config.h +echo >> btstack_config.h -echo "// Port related features" >> btstack-config.h -echo "#define HAVE_TIME" >> btstack-config.h -echo "#define HAVE_MALLOC" >> btstack-config.h -echo "#define HAVE_BZERO" >> btstack-config.h +echo "// Port related features" >> btstack_config.h +echo "#define HAVE_TIME" >> btstack_config.h +echo "#define HAVE_MALLOC" >> btstack_config.h +echo "#define HAVE_BZERO" >> btstack_config.h if test "x$HAVE_SO_NOSIGPIPE" == xyes ; then - echo "#define HAVE_SO_NOSIGPIPE" >> btstack-config.h + echo "#define HAVE_SO_NOSIGPIPE" >> btstack_config.h fi -echo >> btstack-config.h +echo >> btstack_config.h # todo: HAVE -> ENABLE in features below -echo "// BTstack features that can be enabled" >> btstack-config.h -echo "#define ENABLE_BLE" >> btstack-config.h -echo "#define ENABLE_LOG_ERROR" >> btstack-config.h -echo "#define ENABLE_LOG_INFO " >> btstack-config.h -echo "#define ENABLE_RFCOMM" >> btstack-config.h -echo "#define ENABLE_SDP" >> btstack-config.h -echo "#define ENABLE_SDP_DES_DUMP" >> btstack-config.h -echo >> btstack-config.h +echo "// BTstack features that can be enabled" >> btstack_config.h +echo "#define ENABLE_BLE" >> btstack_config.h +echo "#define ENABLE_LOG_ERROR" >> btstack_config.h +echo "#define ENABLE_LOG_INFO " >> btstack_config.h +echo "#define ENABLE_RFCOMM" >> btstack_config.h +echo "#define ENABLE_SDP" >> btstack_config.h +echo "#define ENABLE_SDP_DES_DUMP" >> btstack_config.h +echo >> btstack_config.h -echo "// BTstack configuration. buffers, sizes, .." >> btstack-config.h -echo "#define HCI_ACL_PAYLOAD_SIZE 1021" >> btstack-config.h -echo >> btstack-config.h +echo "// BTstack configuration. buffers, sizes, .." >> btstack_config.h +echo "#define HCI_ACL_PAYLOAD_SIZE 1021" >> btstack_config.h +echo >> btstack_config.h -echo "// Daemon configuration" >> btstack-config.h +echo "// Daemon configuration" >> btstack_config.h # todo: USE_BLUETOOL -> HAVE_BLUETOOL # todo: USE_POWERMANAGEMENT -> HAVE_POWERMANAGMENT / ENABLE_POWERMANAGEMENT if test "x$HCI_TRANSPORT" = xUSB; then USB_SOURCES=hci_transport_h2_libusb.c - echo "#define HAVE_TRANSPORT_USB" >> btstack-config.h - echo "#define USB_PRODUCT_ID $USB_PRODUCT_ID" >> btstack-config.h - echo "#define USB_VENDOR_ID $USB_VENDOR_ID" >> btstack-config.h + echo "#define HAVE_TRANSPORT_USB" >> btstack_config.h + echo "#define USB_PRODUCT_ID $USB_PRODUCT_ID" >> btstack_config.h + echo "#define USB_VENDOR_ID $USB_VENDOR_ID" >> btstack_config.h else - echo "#define HAVE_TRANSPORT_H4" >> btstack-config.h - echo "#define UART_DEVICE \"$UART_DEVICE\"" >> btstack-config.h - echo "#define UART_SPEED $UART_SPEED" >> btstack-config.h + echo "#define HAVE_TRANSPORT_H4" >> btstack_config.h + echo "#define UART_DEVICE \"$UART_DEVICE\"" >> btstack_config.h + echo "#define UART_SPEED $UART_SPEED" >> btstack_config.h if test "x$USE_BLUETOOL" = xyes; then - echo "#define USE_BLUETOOL" >> btstack-config.h + echo "#define USE_BLUETOOL" >> btstack_config.h fi if test "x$USE_POWERMANAGEMENT" = xyes; then - echo "#define USE_POWERMANAGEMENT" >> btstack-config.h + echo "#define USE_POWERMANAGEMENT" >> btstack_config.h fi fi if test ! -z "$REMOTE_DEVICE_DB" ; then - echo "#define REMOTE_DEVICE_DB $REMOTE_DEVICE_DB" >> btstack-config.h + echo "#define REMOTE_DEVICE_DB $REMOTE_DEVICE_DB" >> btstack_config.h fi -echo >> btstack-config.h -echo "#endif" >> btstack-config.h +echo >> btstack_config.h +echo "#endif" >> btstack_config.h AC_SUBST(HAVE_LIBUSB) AC_SUBST(REMOTE_DEVICE_DB_SOURCES) diff --git a/port/ez430-rf2560/btstack-config.h b/port/ez430-rf2560/btstack_config.h similarity index 100% rename from port/ez430-rf2560/btstack-config.h rename to port/ez430-rf2560/btstack_config.h diff --git a/port/ez430-rf2560/example/ant-test.c b/port/ez430-rf2560/example/ant-test.c index 865de45a8..c9ee59d5f 100644 --- a/port/ez430-rf2560/example/ant-test.c +++ b/port/ez430-rf2560/example/ant-test.c @@ -68,7 +68,7 @@ #include "classic/remote_device_db.h" #include "classic/rfcomm.h" #include "classic/sdp.h" -#include "btstack-config.h" +#include "btstack_config.h" #define HEARTBEAT_PERIOD_MS 1000 diff --git a/port/ez430-rf2560/example/spp_accel.c b/port/ez430-rf2560/example/spp_accel.c index c08352bab..5b75dd3e1 100644 --- a/port/ez430-rf2560/example/spp_accel.c +++ b/port/ez430-rf2560/example/spp_accel.c @@ -64,7 +64,7 @@ #include "classic/remote_device_db.h" #include "classic/rfcomm.h" #include "classic/sdp.h" -#include "btstack-config.h" +#include "btstack_config.h" #define HEARTBEAT_PERIOD_MS 1000 diff --git a/port/ez430-rf2560/src/main.c b/port/ez430-rf2560/src/main.c index d5db29a77..2cfa1b472 100644 --- a/port/ez430-rf2560/src/main.c +++ b/port/ez430-rf2560/src/main.c @@ -61,7 +61,7 @@ #include "hci.h" #include "btstack_memory.h" #include "classic/remote_device_db.h" -#include "btstack-config.h" +#include "btstack_config.h" int btstack_main(int argc, const char * argv[]); diff --git a/port/ios/Makefile b/port/ios/Makefile index ad29b8d37..31755b5b6 100644 --- a/port/ios/Makefile +++ b/port/ios/Makefile @@ -7,4 +7,4 @@ include $(THEOS)/makefiles/common.mk include $(THEOS_MAKE_PATH)/aggregate.mk distclean: - rm -rf layout btstack-config.h src/Makefile example/Makefile Makefile + rm -rf layout btstack_config.h src/Makefile example/Makefile Makefile diff --git a/port/ios/btstack-config.h b/port/ios/btstack_config.h similarity index 96% rename from port/ios/btstack-config.h rename to port/ios/btstack_config.h index fce423a02..0cb29f344 100644 --- a/port/ios/btstack-config.h +++ b/port/ios/btstack_config.h @@ -1,5 +1,5 @@ // -// btstack-config.h +// btstack_config.h // created by configure for BTstack // Tue Oct 14 21:52:44 CEST 2014 // diff --git a/port/ios/src/bt_control_iphone.m b/port/ios/src/bt_control_iphone.m index 4a7c773f9..0b82359cc 100644 --- a/port/ios/src/bt_control_iphone.m +++ b/port/ios/src/bt_control_iphone.m @@ -45,7 +45,7 @@ * Bluetooth Toggle by BigBoss */ -#include "btstack-config.h" +#include "btstack_config.h" #include "bt_control_iphone.h" #include "hci_transport.h" diff --git a/port/ios/src/hci_transport_h4_iphone.c b/port/ios/src/hci_transport_h4_iphone.c index 86fe28682..08f70d9d6 100644 --- a/port/ios/src/hci_transport_h4_iphone.c +++ b/port/ios/src/hci_transport_h4_iphone.c @@ -45,7 +45,7 @@ * */ -#include "btstack-config.h" +#include "btstack_config.h" #define SOCKET_DEVICE "com.apple.uart.bluetooth" #include diff --git a/port/ios/src/platform_iphone.m b/port/ios/src/platform_iphone.m index 59767cd2d..79456bf90 100644 --- a/port/ios/src/platform_iphone.m +++ b/port/ios/src/platform_iphone.m @@ -42,7 +42,7 @@ #include "platform_iphone.h" -#include "btstack-config.h" +#include "btstack_config.h" #include "../port/ios/SpringBoardAccess/SpringBoardAccess.h" #include diff --git a/port/libusb/btstack-config.h b/port/libusb/btstack_config.h similarity index 100% rename from port/libusb/btstack-config.h rename to port/libusb/btstack_config.h diff --git a/port/libusb/hci_transport_h2_libusb.c b/port/libusb/hci_transport_h2_libusb.c index 66854f246..2eb927b29 100644 --- a/port/libusb/hci_transport_h2_libusb.c +++ b/port/libusb/hci_transport_h2_libusb.c @@ -59,7 +59,7 @@ #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_debug.h" #include "hci.h" diff --git a/port/libusb/main.c b/port/libusb/main.c index 83789e86b..5c15471c1 100644 --- a/port/libusb/main.c +++ b/port/libusb/main.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "btstack_run_loop_posix.h" diff --git a/port/msp-exp430f5438-cc2564b/btstack-config.h b/port/msp-exp430f5438-cc2564b/btstack_config.h similarity index 100% rename from port/msp-exp430f5438-cc2564b/btstack-config.h rename to port/msp-exp430f5438-cc2564b/btstack_config.h diff --git a/port/msp-exp430f5438-cc2564b/example/ant-test.c b/port/msp-exp430f5438-cc2564b/example/ant-test.c index 4aaedb65e..85a3b1e8b 100644 --- a/port/msp-exp430f5438-cc2564b/example/ant-test.c +++ b/port/msp-exp430f5438-cc2564b/example/ant-test.c @@ -68,7 +68,7 @@ #include "classic/remote_device_db.h" #include "classic/rfcomm.h" #include "classic/sdp.h" -#include "btstack-config.h" +#include "btstack_config.h" #define HEARTBEAT_PERIOD_MS 1000 diff --git a/port/msp-exp430f5438-cc2564b/example/ble_server.c b/port/msp-exp430f5438-cc2564b/example/ble_server.c index 890c59d7e..2a6502734 100644 --- a/port/msp-exp430f5438-cc2564b/example/ble_server.c +++ b/port/msp-exp430f5438-cc2564b/example/ble_server.c @@ -53,7 +53,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include diff --git a/port/msp-exp430f5438-cc2564b/example/spp_accel.c b/port/msp-exp430f5438-cc2564b/example/spp_accel.c index 51eae4000..bd1894853 100644 --- a/port/msp-exp430f5438-cc2564b/example/spp_accel.c +++ b/port/msp-exp430f5438-cc2564b/example/spp_accel.c @@ -64,7 +64,7 @@ #include "classic/remote_device_db.h" #include "classic/rfcomm.h" #include "classic/sdp.h" -#include "btstack-config.h" +#include "btstack_config.h" #define HEARTBEAT_PERIOD_MS 1000 diff --git a/port/msp-exp430f5438-cc2564b/src/main.c b/port/msp-exp430f5438-cc2564b/src/main.c index 70b6cf6bb..a33d81b69 100644 --- a/port/msp-exp430f5438-cc2564b/src/main.c +++ b/port/msp-exp430f5438-cc2564b/src/main.c @@ -60,7 +60,7 @@ #include "hci.h" #include "btstack_memory.h" #include "classic/remote_device_db.h" -#include "btstack-config.h" +#include "btstack_config.h" static void hw_setup(void){ // stop watchdog timer diff --git a/port/msp430f5229lp-cc2564b/btstack-config.h b/port/msp430f5229lp-cc2564b/btstack_config.h similarity index 100% rename from port/msp430f5229lp-cc2564b/btstack-config.h rename to port/msp430f5229lp-cc2564b/btstack_config.h diff --git a/port/msp430f5229lp-cc2564b/example/ble_server.c b/port/msp430f5229lp-cc2564b/example/ble_server.c index 965be47da..bb3b9c47b 100644 --- a/port/msp430f5229lp-cc2564b/example/ble_server.c +++ b/port/msp430f5229lp-cc2564b/example/ble_server.c @@ -53,7 +53,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include diff --git a/port/msp430f5229lp-cc2564b/src/main.c b/port/msp430f5229lp-cc2564b/src/main.c index 8d0562010..10a05eae1 100644 --- a/port/msp430f5229lp-cc2564b/src/main.c +++ b/port/msp430f5229lp-cc2564b/src/main.c @@ -61,7 +61,7 @@ #include "hci_dump.h" #include "btstack_memory.h" #include "classic/remote_device_db.h" -#include "btstack-config.h" +#include "btstack_config.h" static void hw_setup(void){ diff --git a/port/mtk/btstack-config.h b/port/mtk/btstack_config.h similarity index 90% rename from port/mtk/btstack-config.h rename to port/mtk/btstack_config.h index 2c32cc6f1..4066e5b55 100644 --- a/port/mtk/btstack-config.h +++ b/port/mtk/btstack_config.h @@ -1,4 +1,4 @@ -// btstack-config.h created by configure for BTstack Thu Apr 24 14:34:39 CEST 2014 +// btstack_config.h created by configure for BTstack Thu Apr 24 14:34:39 CEST 2014 #ifndef __BTSTACK_CONFIG #define __BTSTACK_CONFIG diff --git a/port/mtk/hci_transport_h4_mtk.c b/port/mtk/hci_transport_h4_mtk.c index 1ed285b27..be175fe71 100644 --- a/port/mtk/hci_transport_h4_mtk.c +++ b/port/mtk/hci_transport_h4_mtk.c @@ -42,7 +42,7 @@ * Created by Matthias Ringwald on 4/29/09. */ -#include "btstack-config.h" +#include "btstack_config.h" #include diff --git a/port/pic32-harmony/app.X/nbproject/configurations.xml b/port/pic32-harmony/app.X/nbproject/configurations.xml index 4fb154de7..75cde4668 100644 --- a/port/pic32-harmony/app.X/nbproject/configurations.xml +++ b/port/pic32-harmony/app.X/nbproject/configurations.xml @@ -12,7 +12,7 @@ ../src/app_btstack_debug.h - ../src/btstack-config.h + ../src/btstack_config.h ../src/btstack_port.h ../src/app.h diff --git a/port/pic32-harmony/src/btstack-config.h b/port/pic32-harmony/src/btstack_config.h similarity index 100% rename from port/pic32-harmony/src/btstack-config.h rename to port/pic32-harmony/src/btstack_config.h diff --git a/port/posix-cc2564b/btstack-config.h b/port/posix-cc2564b/btstack_config.h similarity index 100% rename from port/posix-cc2564b/btstack-config.h rename to port/posix-cc2564b/btstack_config.h diff --git a/port/posix-cc2564b/main.c b/port/posix-cc2564b/main.c index cc9e27846..97f63a8a5 100644 --- a/port/posix-cc2564b/main.c +++ b/port/posix-cc2564b/main.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "btstack_run_loop_posix.h" diff --git a/port/posix-csr/btstack-config.h b/port/posix-csr/btstack_config.h similarity index 100% rename from port/posix-csr/btstack-config.h rename to port/posix-csr/btstack_config.h diff --git a/port/posix-csr/main.c b/port/posix-csr/main.c index ad45090a5..2dff32642 100644 --- a/port/posix-csr/main.c +++ b/port/posix-csr/main.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_memory.h" #include "btstack_debug.h" diff --git a/port/posix-h4/btstack-config.h b/port/posix-h4/btstack_config.h similarity index 100% rename from port/posix-h4/btstack-config.h rename to port/posix-h4/btstack_config.h diff --git a/port/posix-h4/main.c b/port/posix-h4/main.c index 786b98b21..2a8ef2250 100644 --- a/port/posix-h4/main.c +++ b/port/posix-h4/main.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_memory.h" #include "btstack_debug.h" diff --git a/port/posix-stlc2500d/btstack-config.h b/port/posix-stlc2500d/btstack_config.h similarity index 100% rename from port/posix-stlc2500d/btstack-config.h rename to port/posix-stlc2500d/btstack_config.h diff --git a/port/posix-stlc2500d/main.c b/port/posix-stlc2500d/main.c index 44b446a47..037f28edc 100644 --- a/port/posix-stlc2500d/main.c +++ b/port/posix-stlc2500d/main.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "btstack_run_loop_posix.h" diff --git a/port/posix-tc35661/btstack-config.h b/port/posix-tc35661/btstack_config.h similarity index 100% rename from port/posix-tc35661/btstack-config.h rename to port/posix-tc35661/btstack_config.h diff --git a/port/posix-tc35661/main.c b/port/posix-tc35661/main.c index 949b2b98b..aaabc442f 100644 --- a/port/posix-tc35661/main.c +++ b/port/posix-tc35661/main.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include diff --git a/port/posix-wl183x/btstack-config.h b/port/posix-wl183x/btstack_config.h similarity index 100% rename from port/posix-wl183x/btstack-config.h rename to port/posix-wl183x/btstack_config.h diff --git a/port/posix-wl183x/main.c b/port/posix-wl183x/main.c index 828e9f8ef..2967bdb84 100644 --- a/port/posix-wl183x/main.c +++ b/port/posix-wl183x/main.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "btstack_run_loop_posix.h" diff --git a/port/stm32-f103rb-nucleo/btstack-config.h b/port/stm32-f103rb-nucleo/btstack_config.h similarity index 100% rename from port/stm32-f103rb-nucleo/btstack-config.h rename to port/stm32-f103rb-nucleo/btstack_config.h diff --git a/port/wiced/btstack-config.h b/port/wiced/btstack_config.h similarity index 100% rename from port/wiced/btstack-config.h rename to port/wiced/btstack_config.h diff --git a/port/wiced/btstack_run_loop_wiced.h b/port/wiced/btstack_run_loop_wiced.h index ac0e61612..719d3ff65 100644 --- a/port/wiced/btstack_run_loop_wiced.h +++ b/port/wiced/btstack_run_loop_wiced.h @@ -44,7 +44,7 @@ #ifndef __btstack_run_loop_WICED_H #define __btstack_run_loop_WICED_H -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "wiced.h" diff --git a/port/wiced/hci_transport_h4_wiced.c b/port/wiced/hci_transport_h4_wiced.c index 9430005c1..c6948261f 100644 --- a/port/wiced/hci_transport_h4_wiced.c +++ b/port/wiced/hci_transport_h4_wiced.c @@ -41,7 +41,7 @@ * HCI Transport API implementation for basic H4 protocol for use with btstack_run_loop_wiced.c */ -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop_wiced.h" #include "btstack_debug.h" diff --git a/src/ble/ad_parser.h b/src/ble/ad_parser.h index d40dc15ea..70ac66a93 100644 --- a/src/ble/ad_parser.h +++ b/src/ble/ad_parser.h @@ -44,7 +44,7 @@ #ifndef __AD_PARSER_H #define __AD_PARSER_H -#include "btstack-config.h" +#include "btstack_config.h" #if defined __cplusplus extern "C" { diff --git a/src/ble/ancs_client.c b/src/ble/ancs_client.c index 65d9c4a2d..4a39d48f1 100644 --- a/src/ble/ancs_client.c +++ b/src/ble/ancs_client.c @@ -35,7 +35,7 @@ * */ -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/src/ble/att_db_util.h b/src/ble/att_db_util.h index 809d6ee81..8775f711b 100644 --- a/src/ble/att_db_util.h +++ b/src/ble/att_db_util.h @@ -43,7 +43,7 @@ #ifndef __ATT_DB_UTIL #define __ATT_DB_UTIL -#include "btstack-config.h" +#include "btstack_config.h" # #ifdef HAVE_MALLOC #else diff --git a/src/ble/att_server.c b/src/ble/att_server.c index d480ae7bb..1143bbd2e 100644 --- a/src/ble/att_server.c +++ b/src/ble/att_server.c @@ -46,7 +46,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "btstack_debug.h" diff --git a/src/ble/gatt_client.c b/src/ble/gatt_client.c index c5343624f..74d7b456b 100644 --- a/src/ble/gatt_client.c +++ b/src/ble/gatt_client.c @@ -44,7 +44,7 @@ #include "btstack_util.h" #include "classic/sdp_util.h" -#include "btstack-config.h" +#include "btstack_config.h" #include "ble/gatt_client.h" #include "ble/ad_parser.h" diff --git a/src/btstack.h b/src/btstack.h index 772ac39f5..75a01929c 100644 --- a/src/btstack.h +++ b/src/btstack.h @@ -44,7 +44,7 @@ #ifndef __BTSTACK_H #define __BTSTACK_H -#include "btstack-config.h" +#include "btstack_config.h" #include "bluetooth.h" #include "btstack.h" diff --git a/src/btstack_debug.h b/src/btstack_debug.h index 4a707fae0..776d86e7f 100644 --- a/src/btstack_debug.h +++ b/src/btstack_debug.h @@ -44,7 +44,7 @@ #ifndef __DEBUG_H #define __DEBUG_H -#include "btstack-config.h" +#include "btstack_config.h" #include "hci_dump.h" #include diff --git a/src/btstack_memory.h b/src/btstack_memory.h index 87b46cdad..f3b536271 100644 --- a/src/btstack_memory.h +++ b/src/btstack_memory.h @@ -51,7 +51,7 @@ extern "C" { #endif -#include "btstack-config.h" +#include "btstack_config.h" // Core #include "hci.h" diff --git a/src/btstack_run_loop.c b/src/btstack_run_loop.c index 5c2fcc691..0eeb0955a 100644 --- a/src/btstack_run_loop.c +++ b/src/btstack_run_loop.c @@ -48,7 +48,7 @@ #include "btstack_debug.h" -#include "btstack-config.h" +#include "btstack_config.h" static const btstack_run_loop_t * the_run_loop = NULL; diff --git a/src/btstack_run_loop.h b/src/btstack_run_loop.h index 51daeba45..60df14944 100644 --- a/src/btstack_run_loop.h +++ b/src/btstack_run_loop.h @@ -44,7 +44,7 @@ #ifndef __btstack_run_loop_H #define __btstack_run_loop_H -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_linked_list.h" diff --git a/src/btstack_util.c b/src/btstack_util.c index 3b4677ffe..52ae8b212 100644 --- a/src/btstack_util.c +++ b/src/btstack_util.c @@ -43,7 +43,7 @@ * Created by Matthias Ringwald on 7/23/09. */ -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_util.h" #include #include diff --git a/src/classic/hfp.c b/src/classic/hfp.c index 5542dddf0..3d21dfb39 100644 --- a/src/classic/hfp.c +++ b/src/classic/hfp.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/src/classic/hfp_ag.c b/src/classic/hfp_ag.c index ff57623cc..723c2dfdd 100644 --- a/src/classic/hfp_ag.c +++ b/src/classic/hfp_ag.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/src/classic/hfp_gsm_model.c b/src/classic/hfp_gsm_model.c index 37605c5f6..08c743003 100644 --- a/src/classic/hfp_gsm_model.c +++ b/src/classic/hfp_gsm_model.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/src/classic/hfp_hf.c b/src/classic/hfp_hf.c index 9684a5dd4..b1762c02d 100644 --- a/src/classic/hfp_hf.c +++ b/src/classic/hfp_hf.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/src/classic/hsp_ag.c b/src/classic/hsp_ag.c index e0704ccae..800d78898 100644 --- a/src/classic/hsp_ag.c +++ b/src/classic/hsp_ag.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/src/classic/hsp_hs.c b/src/classic/hsp_hs.c index b97c68ffc..99bf7a71a 100644 --- a/src/classic/hsp_hs.c +++ b/src/classic/hsp_hs.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/src/classic/pan.c b/src/classic/pan.c index 9f320f876..b2bdaafb5 100644 --- a/src/classic/pan.c +++ b/src/classic/pan.c @@ -46,7 +46,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "classic/sdp_util.h" #include "hci_cmd.h" diff --git a/src/classic/sdp.h b/src/classic/sdp.h index e4b820c03..c111cc98c 100644 --- a/src/classic/sdp.h +++ b/src/classic/sdp.h @@ -40,7 +40,7 @@ #include #include "btstack_linked_list.h" -#include "btstack-config.h" +#include "btstack_config.h" #if defined __cplusplus extern "C" { diff --git a/src/classic/sdp_client.c b/src/classic/sdp_client.c index 1a7a66ed3..146be7e0a 100644 --- a/src/classic/sdp_client.c +++ b/src/classic/sdp_client.c @@ -39,7 +39,7 @@ * sdp_client.c */ -#include "btstack-config.h" +#include "btstack_config.h" #include "classic/sdp_client.h" #include "hci_cmd.h" diff --git a/src/classic/sdp_client.h b/src/classic/sdp_client.h index 563b58c9d..ba6fec4a9 100644 --- a/src/classic/sdp_client.h +++ b/src/classic/sdp_client.h @@ -42,7 +42,7 @@ #ifndef __SDP_CLIENT_H #define __SDP_CLIENT_H -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_util.h" diff --git a/src/classic/sdp_parser.h b/src/classic/sdp_parser.h index 1999b285d..afa48855c 100644 --- a/src/classic/sdp_parser.h +++ b/src/classic/sdp_parser.h @@ -42,7 +42,7 @@ #ifndef __SDP_PARSER_H #define __SDP_PARSER_H -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/src/classic/sdp_util.c b/src/classic/sdp_util.c index 12d11cb54..06cd43200 100644 --- a/src/classic/sdp_util.c +++ b/src/classic/sdp_util.c @@ -41,7 +41,7 @@ #include "classic/sdp_util.h" #include "btstack_util.h" -#include "btstack-config.h" +#include "btstack_config.h" #include "bluetooth.h" #include diff --git a/src/hci.c b/src/hci.c index f62e72af7..4d95eea80 100644 --- a/src/hci.c +++ b/src/hci.c @@ -42,7 +42,7 @@ * */ -#include "btstack-config.h" +#include "btstack_config.h" #include "hci.h" #include "gap.h" diff --git a/src/hci.h b/src/hci.h index d6f6c4dbe..c45adb5f9 100644 --- a/src/hci.h +++ b/src/hci.h @@ -45,7 +45,7 @@ #ifndef __HCI_H #define __HCI_H -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_control.h" diff --git a/src/hci_cmd.c b/src/hci_cmd.c index 1d5d128fa..31d6bdaad 100644 --- a/src/hci_cmd.c +++ b/src/hci_cmd.c @@ -41,7 +41,7 @@ * Created by Matthias Ringwald on 7/23/09. */ -#include "btstack-config.h" +#include "btstack_config.h" #include "classic/sdp_util.h" #include "hci.h" diff --git a/src/hci_dump.c b/src/hci_dump.c index b874f9afd..a927856e8 100644 --- a/src/hci_dump.c +++ b/src/hci_dump.c @@ -47,7 +47,7 @@ * Created by Matthias Ringwald on 5/26/09. */ -#include "btstack-config.h" +#include "btstack_config.h" #include "hci_dump.h" #include "hci.h" diff --git a/src/l2cap_signaling.c b/src/l2cap_signaling.c index 14098f916..ea796dc19 100644 --- a/src/l2cap_signaling.c +++ b/src/l2cap_signaling.c @@ -42,7 +42,7 @@ */ #include "l2cap_signaling.h" -#include "btstack-config.h" +#include "btstack_config.h" #include "hci.h" #include diff --git a/test/btstack-config.h b/test/btstack_config.h similarity index 100% rename from test/btstack-config.h rename to test/btstack_config.h diff --git a/test/hfp/hfp_ag_client_test.c b/test/hfp/hfp_ag_client_test.c index 8a2765344..2f5972965 100644 --- a/test/hfp/hfp_ag_client_test.c +++ b/test/hfp/hfp_ag_client_test.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/hfp/hfp_hf_client_test.c b/test/hfp/hfp_hf_client_test.c index ae7b91d5c..7cc79dd60 100644 --- a/test/hfp/hfp_hf_client_test.c +++ b/test/hfp/hfp_hf_client_test.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/pts/ble_central_test.c b/test/pts/ble_central_test.c index f33de3459..d933eb261 100644 --- a/test/pts/ble_central_test.c +++ b/test/pts/ble_central_test.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "btstack_debug.h" diff --git a/test/pts/ble_peripheral_test.c b/test/pts/ble_peripheral_test.c index 708ae28fe..9baf8f8ac 100644 --- a/test/pts/ble_peripheral_test.c +++ b/test/pts/ble_peripheral_test.c @@ -47,7 +47,7 @@ #include #include -#include "btstack-config.h" +#include "btstack_config.h" #include "btstack_run_loop.h" #include "btstack_debug.h" diff --git a/test/pts/bnep_test.c b/test/pts/bnep_test.c index 942063ae4..ec20ae74a 100644 --- a/test/pts/bnep_test.c +++ b/test/pts/bnep_test.c @@ -40,7 +40,7 @@ * based on panu_demo implemented by Ole Reinhardt */ -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/pts/classic_test.c b/test/pts/classic_test.c index 65a3132ac..476bf6f1d 100644 --- a/test/pts/classic_test.c +++ b/test/pts/classic_test.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/pts/hfp_hf_test.c b/test/pts/hfp_hf_test.c index bd3b57867..ea3c1a460 100644 --- a/test/pts/hfp_hf_test.c +++ b/test/pts/hfp_hf_test.c @@ -42,7 +42,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/pts/hfp_test.c b/test/pts/hfp_test.c index 3db39ec8a..0966dfffc 100644 --- a/test/pts/hfp_test.c +++ b/test/pts/hfp_test.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/pts/hsp_hs_test.c b/test/pts/hsp_hs_test.c index 952d38498..022cf15be 100644 --- a/test/pts/hsp_hs_test.c +++ b/test/pts/hsp_hs_test.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include diff --git a/test/pts/l2cap_test.c b/test/pts/l2cap_test.c index 881c261fe..507d92bf9 100644 --- a/test/pts/l2cap_test.c +++ b/test/pts/l2cap_test.c @@ -41,7 +41,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/remote_device_db/remote_device_db_fs_test.c b/test/remote_device_db/remote_device_db_fs_test.c index 0ff40b546..ce30170e4 100644 --- a/test/remote_device_db/remote_device_db_fs_test.c +++ b/test/remote_device_db/remote_device_db_fs_test.c @@ -6,7 +6,7 @@ #include "classic/remote_device_db.h" -#include "btstack-config.h" +#include "btstack_config.h" const remote_device_db_t * remote_device_db_fs_instance(); diff --git a/test/remote_device_db/remote_device_db_memory_test.c b/test/remote_device_db/remote_device_db_memory_test.c index 3d937f5a0..29a1078c3 100644 --- a/test/remote_device_db/remote_device_db_memory_test.c +++ b/test/remote_device_db/remote_device_db_memory_test.c @@ -7,7 +7,7 @@ #include "classic/remote_device_db.h" #include "btstack_memory.h" -#include "btstack-config.h" +#include "btstack_config.h" extern btstack_linked_list_t db_mem_link_keys ; extern btstack_linked_list_t db_mem_names ; diff --git a/test/sdp_client/general_sdp_query.c b/test/sdp_client/general_sdp_query.c index db878fd11..65c004da2 100644 --- a/test/sdp_client/general_sdp_query.c +++ b/test/sdp_client/general_sdp_query.c @@ -5,7 +5,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/sdp_client/sdp_rfcomm_query.c b/test/sdp_client/sdp_rfcomm_query.c index fe08b782a..9c982572c 100644 --- a/test/sdp_client/sdp_rfcomm_query.c +++ b/test/sdp_client/sdp_rfcomm_query.c @@ -5,7 +5,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/sdp_client/service_attribute_search_query.c b/test/sdp_client/service_attribute_search_query.c index c89398d3a..fd408a0ff 100644 --- a/test/sdp_client/service_attribute_search_query.c +++ b/test/sdp_client/service_attribute_search_query.c @@ -5,7 +5,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/test/sdp_client/service_search_query.c b/test/sdp_client/service_search_query.c index b9fda8360..06baf8199 100644 --- a/test/sdp_client/service_search_query.c +++ b/test/sdp_client/service_search_query.c @@ -5,7 +5,7 @@ // // ***************************************************************************** -#include "btstack-config.h" +#include "btstack_config.h" #include #include diff --git a/tool/btstack_memory_generator.py b/tool/btstack_memory_generator.py index b2c7dc3dd..ab8848389 100755 --- a/tool/btstack_memory_generator.py +++ b/tool/btstack_memory_generator.py @@ -54,7 +54,7 @@ hfile_header_begin = """ extern "C" { #endif -#include "btstack-config.h" +#include "btstack_config.h" // Core #include "hci.h" diff --git a/tool/update_copyright.py b/tool/update_copyright.py index 855082440..f491d729d 100644 --- a/tool/update_copyright.py +++ b/tool/update_copyright.py @@ -45,7 +45,7 @@ copyrightString = "Copyright \(C\) 2014 BlueKitchen GmbH" copyrighters = ["BlueKitchen", "Matthias Ringwald"] ignoreFolders = ["cpputest", "test", "msp-exp430f5438-cc2564b", "msp430f5229lp-cc2564b", "ez430-rf2560", "ios", "chipset/cc256x", "docs", "mtk"] -ignoreFiles = ["ant_cmds.h", "rijndael.c", "btstack-config.h", "btstack_version.h", "profile.h", "bluetoothdrv.h", +ignoreFiles = ["ant_cmds.h", "rijndael.c", "btstack_config.h", "btstack_version.h", "profile.h", "bluetoothdrv.h", "ancs_client_demo.h", "spp_and_le_counter.h", "bluetoothdrv-stub.c", "minimal_peripheral.c", "BTstackDaemonRespawn.c"] class State: