mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 03:40:16 +00:00
tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__
This commit is contained in:
parent
03e09accef
commit
ab2c6ae4b7
@ -34,6 +34,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_chipset_bcm.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* bt_control_bcm.c
|
* bt_control_bcm.c
|
||||||
*
|
*
|
||||||
|
@ -29,6 +29,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "ant_cmd.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ant_cmds.c
|
* ant_cmds.c
|
||||||
*
|
*
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_chipset_cc256x.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_chipset_cc256x.c
|
* btstack_chipset_cc256x.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_chipset_csr.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_chipset_csr.c
|
* btstack_chipset_csr.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_chipset_em9301.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_chipset_em9301.c
|
* btstack_chipset_em9301.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_chipset_stlc2500d.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_chipset_stlc2500d.c
|
* btstack_chipset_stlc2500d.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_chipset_tc3566x.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_chipset_tc3566x.c
|
* btstack_chipset_tc3566x.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "ancs_client_demo.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
// ANCS Client Demo
|
// ANCS Client Demo
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "gap_dedicated_bonding.c"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "gap_inquiry.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(gap_inquiry): GAP Inquiry Example
|
/* EXAMPLE_START(gap_inquiry): GAP Inquiry Example
|
||||||
*
|
*
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "gap_le_advertisements.c"
|
||||||
|
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "gatt_battery_query.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
// BLE Client
|
// BLE Client
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "gatt_browser.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(gatt_browser): GATT Client - Discovering primary services and their characteristics
|
/* EXAMPLE_START(gatt_browser): GATT Client - Discovering primary services and their characteristics
|
||||||
*
|
*
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hfp_ag_demo.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hfp_ag_demo.c
|
* hfp_ag_demo.c
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hfp_hf_demo.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hfp_hs_demo.c
|
* hfp_hs_demo.c
|
||||||
*/
|
*/
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hsp_ag_demo.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hsp_ag_demo.c
|
* hsp_ag_demo.c
|
||||||
*/
|
*/
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hsp_hs_demo.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hsp_hs_demo.c
|
* hsp_hs_demo.c
|
||||||
*/
|
*/
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "le_counter.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(le_counter): LE Peripheral - Heartbeat Counter over GATT
|
/* EXAMPLE_START(le_counter): LE Peripheral - Heartbeat Counter over GATT
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "le_streamer.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(le_streamer): LE Peripheral - Stream data over GATT
|
/* EXAMPLE_START(le_streamer): LE Peripheral - Stream data over GATT
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "le_streamer_client.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
// LE Streamer Client - connects to 'LE Streamer' and subscribes to test characteristic
|
// LE Streamer Client - connects to 'LE Streamer' and subscribes to test characteristic
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "led_counter.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(led_counter): Hello World: blinking LED without Bluetooth
|
/* EXAMPLE_START(led_counter): Hello World: blinking LED without Bluetooth
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "panu_demo.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* panu_demo.c
|
* panu_demo.c
|
||||||
* Author: Ole Reinhardt <ole.reinhardt@kernelconcepts.de>
|
* Author: Ole Reinhardt <ole.reinhardt@kernelconcepts.de>
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "pbap_client_demo.c"
|
||||||
|
|
||||||
#include "btstack_config.h"
|
#include "btstack_config.h"
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "sco_demo_util.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* sco_demo_util.c - send/receive test data via SCO, used by hfp_*_demo and hsp_*_demo
|
* sco_demo_util.c - send/receive test data via SCO, used by hfp_*_demo and hsp_*_demo
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "sdp_bnep_query.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(sdp_bnep_query): Dump remote BNEP PAN protocol UUID and L2CAP PSM
|
/* EXAMPLE_START(sdp_bnep_query): Dump remote BNEP PAN protocol UUID and L2CAP PSM
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "sdp_general_query.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(sdp_general_query): Dump remote SDP Records
|
/* EXAMPLE_START(sdp_general_query): Dump remote SDP Records
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "sdp_rfcomm_query.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "sm_pairing_central.c"
|
||||||
|
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "sm_pairing_peripheral.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(sm_pairing_peripheral): LE Peripheral - Test pairing combinations
|
/* EXAMPLE_START(sm_pairing_peripheral): LE Peripheral - Test pairing combinations
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "spp_and_le_counter.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(spp_and_le_counter): Dual mode example
|
/* EXAMPLE_START(spp_and_le_counter): Dual mode example
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "spp_counter.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(spp_counter): SPP Server - Heartbeat Counter over RFCOMM
|
/* EXAMPLE_START(spp_counter): SPP Server - Heartbeat Counter over RFCOMM
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "spp_flowcontrol.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
/* EXAMPLE_START(spp_flowcontrol): SPP Server - Flow Control
|
/* EXAMPLE_START(spp_flowcontrol): SPP Server - Flow Control
|
||||||
*
|
*
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "spp_streamer.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "inquiry.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* inquiry.c
|
* inquiry.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "l2cap_server.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* l2cap_server.c
|
* l2cap_server.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "l2cap_throughput.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* l2cap_throughput.c
|
* l2cap_throughput.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "le_scan.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* le_scan.c
|
* le_scan.c
|
||||||
*/
|
*/
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "rfcomm_cat.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* rfcomm.c
|
* rfcomm.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "rfcomm_echo.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* rfcomm_echo.c
|
* rfcomm_echo.c
|
||||||
*/
|
*/
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "rfcomm_test.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* rfcomm_echo.c
|
* rfcomm_echo.c
|
||||||
*/
|
*/
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "test.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* test.c
|
* test.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack.c
|
* btstack.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "daemon.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* daemon.c
|
* daemon.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "daemon_cmds.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hci_cmd.c
|
* hci_cmd.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "rfcomm_service_db_hash.c"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "rfcomm_service_db_memory.c"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "socket_connection.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SocketServer.c
|
* SocketServer.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_run_loop_embedded.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_run_loop_embedded.c
|
* btstack_run_loop_embedded.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_uart_block_embedded.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_uart_block_embedded.c
|
* btstack_uart_block_embedded.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hci_transport_h4_ehcill_embedded.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hci_h4_transport_dma.c
|
* hci_h4_transport_dma.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hci_transport_h4_embedded.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hci_h4_transport_dma.c
|
* hci_h4_transport_dma.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hci_transport_h2_libusb.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hci_transport_usb.c
|
* hci_transport_usb.c
|
||||||
*
|
*
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hal_compat.c"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* various functions to deal with flaws and portability issues
|
* various functions to deal with flaws and portability issues
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_link_key_db_fs.c"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_run_loop_posix.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_run_loop.c
|
* btstack_run_loop.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_uart_block_posix.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_uart_block_posix.c
|
* btstack_uart_block_posix.c
|
||||||
*
|
*
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "le_device_db_fs.c"
|
||||||
|
|
||||||
#include "ble/le_device_db.h"
|
#include "ble/le_device_db.h"
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "stdin_support.c"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "wav_util.c"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_run_loop_windows.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_run_loop_windows.c
|
* btstack_run_loop_windows.c
|
||||||
*/
|
*/
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_uart_block_windows.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_uart_block_windows.c
|
* btstack_uart_block_windows.c
|
||||||
*
|
*
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hci_transport_h2_winusb.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hci_transport_usb.c
|
* hci_transport_usb.c
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
// minimal setup for HCI code
|
// minimal setup for HCI code
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
/**
|
/**
|
||||||
* BTstack port for Zephyr Bluetooth Controller
|
* BTstack port for Zephyr Bluetooth Controller
|
||||||
*
|
*
|
||||||
|
2
port/nrf5x/main.c
Executable file → Normal file
2
port/nrf5x/main.c
Executable file → Normal file
@ -10,6 +10,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BTstack Link Layer implementation
|
* BTstack Link Layer implementation
|
||||||
*/
|
*/
|
||||||
|
2
port/nrf5x/retarget_blocking.c
Executable file → Normal file
2
port/nrf5x/retarget_blocking.c
Executable file → Normal file
@ -9,6 +9,8 @@
|
|||||||
* the file.
|
* the file.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "retarget_blocking.c"
|
||||||
|
|
||||||
// BTstack patch: block on full outgoing buffer
|
// BTstack patch: block on full outgoing buffer
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
// minimal setup for HCI code
|
// minimal setup for HCI code
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
// minimal setup for HCI code
|
// minimal setup for HCI code
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
|
|
||||||
#include <libopencm3/cm3/nvic.h>
|
#include <libopencm3/cm3/nvic.h>
|
||||||
#include <libopencm3/cm3/systick.h>
|
#include <libopencm3/cm3/systick.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_link_key_db_wiced_dct.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_link_key_db_wiced_dct.c
|
* btstack_link_key_db_wiced_dct.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_run_loop_wiced.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_run_loop_wiced.c
|
* btstack_run_loop_wiced.c
|
||||||
*
|
*
|
||||||
|
@ -41,6 +41,8 @@ const /*
|
|||||||
* HCI Transport API implementation for basic H4 protocol for use with btstack_run_loop_wiced.c
|
* HCI Transport API implementation for basic H4 protocol for use with btstack_run_loop_wiced.c
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "hci_transport_h4_wiced.c"
|
||||||
|
|
||||||
#include "btstack_config.h"
|
#include "btstack_config.h"
|
||||||
#include "btstack_run_loop_wiced.h"
|
#include "btstack_run_loop_wiced.h"
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
|
|
||||||
#include "btstack.h"
|
#include "btstack.h"
|
||||||
#include "btstack_chipset_bcm.h"
|
#include "btstack_chipset_bcm.h"
|
||||||
#include "btstack_run_loop_wiced.h"
|
#include "btstack_run_loop_wiced.h"
|
||||||
|
@ -1,3 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2014 BlueKitchen GmbH
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions
|
||||||
|
* are met:
|
||||||
|
*
|
||||||
|
* 1. Redistributions of source code must retain the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
* notice, this list of conditions and the following disclaimer in the
|
||||||
|
* documentation and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of the copyright holders nor the names of
|
||||||
|
* contributors may be used to endorse or promote products derived
|
||||||
|
* from this software without specific prior written permission.
|
||||||
|
* 4. Any redistribution, use, or modification is done solely for
|
||||||
|
* personal benefit and not for any commercial purpose or for
|
||||||
|
* monetary gain.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
|
||||||
|
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||||
|
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS
|
||||||
|
* RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||||
|
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||||
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||||
|
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||||
|
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||||
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
|
||||||
|
* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
* SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* Please inquire about commercial licensing options at
|
||||||
|
* contact@bluekitchen-gmbh.com
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "main.c"
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
// minimal setup for HCI code
|
// minimal setup for HCI code
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "ad_parser.c"
|
||||||
|
|
||||||
|
|
||||||
// *****************************************************************************
|
// *****************************************************************************
|
||||||
//
|
//
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "ancs_client.c"
|
||||||
|
|
||||||
#include "btstack_config.h"
|
#include "btstack_config.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "att_db.c"
|
||||||
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "att_db_util.c"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "att_dispatch.c"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dispatcher for independent implementation of ATT client and server
|
* Dispatcher for independent implementation of ATT client and server
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "att_server.c"
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// ATT Server Globals
|
// ATT Server Globals
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "battery_service_server.c"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of the GATT Battery Service Server
|
* Implementation of the GATT Battery Service Server
|
||||||
* To use with your application, add '#import <battery_service.gatt' to your .gatt file
|
* To use with your application, add '#import <battery_service.gatt' to your .gatt file
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "device_information_service_server.c"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of the Device Information Service Server
|
* Implementation of the Device Information Service Server
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "gatt_client.c"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "le_device_db_memory.c"
|
||||||
|
|
||||||
#include "ble/le_device_db.h"
|
#include "ble/le_device_db.h"
|
||||||
|
|
||||||
|
@ -34,6 +34,8 @@
|
|||||||
* contact@bluekitchen-gmbh.com
|
* contact@bluekitchen-gmbh.com
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "sm.c"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "sm_mbedtls_allocator.c"
|
||||||
|
|
||||||
#include "btstack_config.h"
|
#include "btstack_config.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_linked_list.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* linked_list.c
|
* linked_list.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_memory.c"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_memory.h
|
* btstack_memory.h
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_memory_pool.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_memory_pool.c
|
* btstack_memory_pool.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_ring_buffer.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_ring_buffer.c
|
* btstack_ring_buffer.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_run_loop.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* run_loop.c
|
* run_loop.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_slip.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_slip.c
|
* btstack_slip.c
|
||||||
* SLIP encoder/decoder
|
* SLIP encoder/decoder
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "btstack_util.c"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* btstack_util.c
|
* btstack_util.c
|
||||||
*
|
*
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "avdtp.c"
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "avdtp_acceptor.c"
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "avdtp_initiator.c"
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "avdtp_sink.c"
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "avdtp_source.c"
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define __BTSTACK_FILE__ "avdtp_util.c"
|
||||||
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user