Home
last modified time | relevance | path

Searched full:btstack (Results 1 – 25 of 562) sorted by relevance

12345678910>>...23

/btstack/port/mtk/LEScan/src/com/bluekitchen/lescan/
H A DMainActivity.java9 import com.bluekitchen.btstack.BD_ADDR;
10 import com.bluekitchen.btstack.BT_UUID;
11 import com.bluekitchen.btstack.BTstack;
12 import com.bluekitchen.btstack.GATTCharacteristic;
13 import com.bluekitchen.btstack.GATTService;
14 import com.bluekitchen.btstack.Packet;
15 import com.bluekitchen.btstack.PacketHandler;
16 import com.bluekitchen.btstack.Util;
17 import com.bluekitchen.btstack.event.BTstackEventState;
18 import com.bluekitchen.btstack.event.GAPEventAdvertisingReport;
[all …]
/btstack/platform/daemon/binding/java/example/com/bluekitchen/
H A DLEStreamerClient.java3 import com.bluekitchen.btstack.BD_ADDR;
4 import com.bluekitchen.btstack.BT_UUID;
5 import com.bluekitchen.btstack.BTstack;
6 import com.bluekitchen.btstack.GATTCharacteristic;
7 import com.bluekitchen.btstack.GATTService;
8 import com.bluekitchen.btstack.Packet;
9 import com.bluekitchen.btstack.PacketHandler;
10 import com.bluekitchen.btstack.Util;
11 import com.bluekitchen.btstack.event.BTstackEventState;
12 import com.bluekitchen.btstack.event.GAPEventAdvertisingReport;
[all …]
H A DGATTClientTest.java3 import com.bluekitchen.btstack.BD_ADDR;
4 import com.bluekitchen.btstack.BT_UUID;
5 import com.bluekitchen.btstack.BTstack;
6 import com.bluekitchen.btstack.GATTCharacteristic;
7 import com.bluekitchen.btstack.GATTService;
8 import com.bluekitchen.btstack.Packet;
9 import com.bluekitchen.btstack.PacketHandler;
10 import com.bluekitchen.btstack.Util;
11 import com.bluekitchen.btstack.event.BTstackEventState;
12 import com.bluekitchen.btstack.event.GAPEventAdvertisingReport;
[all …]
H A DSPPStreamerClient.java3 import com.bluekitchen.btstack.BD_ADDR;
4 import com.bluekitchen.btstack.BTstack;
5 import com.bluekitchen.btstack.Packet;
6 import com.bluekitchen.btstack.PacketHandler;
7 import com.bluekitchen.btstack.RFCOMMDataPacket;
8 import com.bluekitchen.btstack.Util;
9 import com.bluekitchen.btstack.event.*;
45 private BTstack btstack; field in SPPStreamerClient
100 btstack.SDPClientQueryRFCOMMServices(remote, serviceSearchPattern); in startSDPQuery()
107 btstack.disconnect(); in handlePacket()
[all …]
H A DGAPInquiry.java3 import com.bluekitchen.btstack.BD_ADDR;
4 import com.bluekitchen.btstack.BTstack;
5 import com.bluekitchen.btstack.Packet;
6 import com.bluekitchen.btstack.PacketHandler;
7 import com.bluekitchen.btstack.Util;
8 import com.bluekitchen.btstack.event.BTstackEventState;
9 import com.bluekitchen.btstack.event.GAPEventInquiryResult;
10 import com.bluekitchen.btstack.event.GAPEventInquiryComplete;
20 private BTstack btstack; field in GAPInquiry
26 btstack.GAPInquiryStart(duration_in_1_28s); in startInquiry()
[all …]
/btstack/platform/daemon/binding/java/android/com/bluekitchen/lescan/
H A DMainActivity.java9 import com.bluekitchen.btstack.BD_ADDR;
10 import com.bluekitchen.btstack.BT_UUID;
11 import com.bluekitchen.btstack.BTstack;
12 import com.bluekitchen.btstack.GATTCharacteristic;
13 import com.bluekitchen.btstack.GATTService;
14 import com.bluekitchen.btstack.Packet;
15 import com.bluekitchen.btstack.PacketHandler;
16 import com.bluekitchen.btstack.Util;
17 import com.bluekitchen.btstack.event.BTstackEventDaemonDisconnect;
18 import com.bluekitchen.btstack.event.BTstackEventState;
[all …]
/btstack/port/mtk/SPPClient/src/com/bluekitchen/sppclient/
H A DMainActivity.java14 import com.bluekitchen.btstack.RFCOMMDataPacket;
15 import com.bluekitchen.btstack.BD_ADDR;
16 import com.bluekitchen.btstack.BTstack;
17 import com.bluekitchen.btstack.Packet;
18 import com.bluekitchen.btstack.PacketHandler;
19 import com.bluekitchen.btstack.Util;
20 import com.bluekitchen.btstack.event.BTstackEventState;
21 import com.bluekitchen.btstack.event.HCIEventCommandComplete;
22 import com.bluekitchen.btstack.event.HCIEventDisconnectionComplete;
23 import com.bluekitchen.btstack.event.HCIEventHardwareError;
[all …]
/btstack/
H A DREADME.md1 # Welcome to BTstack
3 BTstack is [BlueKitchen's](https://bluekitchen-gmbh.com) implementation of the official Bluetooth s…
7 … simple as providing the necessary UART, CPU, and CLOCK implementations. BTstack is currently capa…
9 On smaller embedded systems, a minimal run loop implementation allows to use BTstack without a Real…
10 If a RTOS is already provided, BTstack can be integrated and run as a single thread.
12 On larger systems, BTstack provides a server that connects to a Bluetooth module.
15 BTstack supports the Central and the Peripheral Role of Bluetooth 5 Low Energy specification incl. …
17 BTstack is free for non-commercial use. However, for commercial use, <a href="mailto:contact@blueki…
19 …umentation:** [HTML](https://bluekitchen-gmbh.com/btstack/), [PDF](https://bluekitchen-gmbh.com/bt…
21 …ist of used libraries and their licenses](https://github.com/bluekitchen/btstack/blob/master/3rd-p…
[all …]
/btstack/port/archive/pic32-harmony/
H A Dcreate_examples.py3 # Create project files for all BTstack embedded examples in harmony/apps/btstack
14 BTSTACK_ROOT=$DIR/../../../framework/btstack
37 …print("Cannot find Harmony root. Make sure BTstack is checked out as harmony/vx_xx/frameworks/btst…
46 # path to WICED/apps/btstack
47 apps_btstack = harmony_root + "/apps/btstack/"
49 print("Creating examples in apps/btstack")
51 # iterate over btstack examples
100 …emPath>../../../example/spp_counter.c", "<itemPath>../../../../framework/btstack/example/" + examp…
104 … template = template.replace(">../../../chipset", ">../../../../framework/btstack/chipset")
105 … template = template.replace(">../../../platform", ">../../../../framework/btstack/platform")
[all …]
/btstack/port/mtk/
H A Dinstaller.sh4 echo "BTstack Installer for RugGear/Mediatek devices"
26 adb shell su root mkdir -p /system/btstack
27 adb shell su root chmod 777 /system/btstack
28 adb push $DIR/BTstackDaemon /system/btstack
29 adb push $DIR/BTstackDaemonRespawn /system/btstack
30 adb push $DIR/libBTstack.so /system/btstack
31 adb push $DIR/inquiry /system/btstack
32 adb push $DIR/le_scan /system/btstack
33 adb push $DIR/rfcomm_echo /system/btstack
36 adb shell su root mv /system/btstack/BTstackDaemon /system/bin
[all …]
/btstack/doc/manual/docs-template/
H A Dintegration.md3 While the run loop provided by BTstack is sufficient for new designs,
4 BTstack is often used with or added to existing projects. In this case,
10 “Main ”, “Communication Logic”, and “BTstack”. The Communication Logic
12 and data packets from BTstack. The Main Application makes use of the
16 ## Adapting BTstack for Single-Threaded Environments {#sec:singlethreadingIntegration}
23 ![BTstack in single-threaded environment.](picts/singlethreading-btstack.png) {#fig:BTstackSingle}
25 BTstack provides a basic run loop that supports the concept of data
28 to a basic operating system or a different scheduler, BTstack’s run loop
54 ## Adapting BTstack for Multi-Threaded Environments {#sec:multithreadingIntegration}
57 The basic execution model of BTstack is a general while loop. Aside from
[all …]
H A Dhow_to.md3 BTstack implements a set of Bluetooth protocols and profiles. To connect to other Bluetooth devices…
5 The configuration of BTstack is done both at compile time as well as at run time:
19 that is necessary to setup BTstack. From the point when the run loop
21 state machine, which processes events received from BTstack. BTstack
24 between BTstack and the Bluetooth chipset, we describe how to configure
25 … provide an overview on power management in Bluetooth in general and how to save energy in BTstack.
32 - other #define directives for BTstack configuration, most notably static memory, [see next section…
83 BTstack properties:
94 …EVENTS | Log internal/custom BTstack events …
149BTstack relies on flow control of the HCI transport, either via Hardware CTS/RTS flow control for …
[all …]
H A Dprotocols.md3 BTstack is a modular dual-mode Bluetooth stack, supporting both
31 So far, the most popular use of BTstack is in peripheral devices that
36 directly for information on BTstack and MFi.
39 and profiles that are currently implemented by BTstack.
41 are used in BTstack. In the next chapter, we go over the profiles.
43 ![Architecture of a BTstack-based application.](picts/btstack-protocols.png) {#fig:BTstackProtocolA…
49 In BTstack, the HCI implementation also keeps track of all active
54 own. Instead, BTstack provides convenience functions in GAP and higher
69 Listing [below](#lst:hciOGFs) shows the OGFs provided by BTstack in file [src/hci.h](GITHUB_URL/src…
71 ~~~~ {#lst:hciOGFs .c caption="{HCI OGFs provided by BTstack.}"}
[all …]
H A Darchitecture.md3 As well as any other communication stack, BTstack is a collection of
8 - *Single threaded design* - BTstack does not use or require
22 BTstack-based single-threaded application that includes the BTstack run loop.
26 events and data coming from either the Main Application or from BTstack
27 via registered packet handlers (PH). BTstack’s Run Loop is responsible
30 ![Architecture of a BTstack-based application.](picts/btstack-architecture.png) {#fig:BTstackArchit…
34 BTstack does not use or require multi-threading. It uses a single run
37 by BTstack to implement various Bluetooth-related timeouts. For example,
44 For adapting BTstack to multi-threaded environments check [here](../integration/#sec:multithreading…
48 Bluetooth logic is event-driven. Therefore, all BTstack functions are
[all …]
/btstack/port/mtk/docs/
H A Druggear-gettingstarted.tex98 \title[] {BTstack for RugGear/MediaTek Chipsets}
110 \newcommand{\BTstack}{\urlfoot{http://bluekitchen-gmbh.com/btstack}{BTstack}{}}
122 This documents describes how \BTstack{} can be installed and used on RugGear devices with MediaTek …
125 To install BTstack on a RugGear mobile phone, connect the RugGear device to a Mac or Linux system u…
134 …vertising reports to test your LE Client. Here, we used the \nio{} and a BTstack-based LE Peripher…
150 \section{Installing BTstack on RugGear devices with MediaTek Chipsets}
152 First, extract the provided \path{btstack-android-mtk-VERSION.tar.gz} archive. Please make sure tha…
155 $ mkdir btstack
156 $ tar -zxvf btstack-android-mtk.tar.gz -C btstack
157 $ ls btstack
[all …]
/btstack/port/esp32/
H A DREADME.md1 # BTstack Port for the Espressif ESP32 Platform
3 Status: Basic port incl. all examples. BTstack runs on dedicated FreeRTOS thread. Multi threading (…
16 The script will copy parts of the BTstack tree into the ESP-IDF as $IDF_PATH/components/btstack and…
19 command again after updating the BTstack tree (e.g. by git pull) to also update the copy in the ESP…
90 The BTstack port setups a buffered output for printf/ESP log macros. However, if that gets full, th…
96 BTstack is not thread-safe, but you're using a multi-threading OS. Any function that is called from…
97 To call a function from the BTstack thread, you can use *btstack_run_loop_execute_on_main_thread* a…
98 i.e. 'do BTstack tasks' function, from the BTstack thread. The called function should check if ther…
100 We're considering different options to make BTstack thread-safe, but for now, please use one of the…
/btstack/port/arduino/examples/LEPeripheral/
H A DLEPeripheral.ino2 #include <BTstack.h>
8 * @text BTstack allows to setup a GATT Services and Characteristics directly
15 * In BTstack, a dynamic Characteristic is a Characteristic where reads and writes
28 BTstack.setBLEDeviceConnectedCallback(deviceConnectedCallback);
29 BTstack.setBLEDeviceDisconnectedCallback(deviceDisconnectedCallback);
30 BTstack.setGATTCharacteristicRead(gattReadCallback);
31 BTstack.setGATTCharacteristicWrite(gattWriteCallback);
34 BTstack.addGATTService(new UUID("B8E06067-62AD-41BA-9231-206AE80AB551"));
35BTstack.addGATTCharacteristic(new UUID("f897177b-aee8-4767-8ecc-cc694fd5fcef"), ATT_PROPERTY_READ,…
36BTstack.addGATTCharacteristicDynamic(new UUID("f897177b-aee8-4767-8ecc-cc694fd5fce0"), ATT_PROPERT…
[all …]
/btstack/port/arduino/examples/LECentral/
H A DLECentral.ino1 #include <BTstack.h>
74 BTstack.setBLEAdvertisementCallback(advertisementCallback);
75 BTstack.setBLEDeviceConnectedCallback(deviceConnectedCallback);
76 BTstack.setBLEDeviceDisconnectedCallback(deviceDisconnectedCallback);
77 BTstack.setGATTServiceDiscoveredCallback(gattServiceDiscovered);
78 BTstack.setGATTCharacteristicDiscoveredCallback(gattCharacteristicDiscovered);
79 BTstack.setGATTCharacteristicNotificationCallback(gattCharacteristicNotification);
80 BTstack.setGATTCharacteristicReadCallback(gattReadCallback);
81 BTstack.setGATTCharacteristicWrittenCallback(gattWrittenCallback);
82 BTstack.setGATTCharacteristicSubscribedCallback(gattSubscribedCallback);
[all …]
/btstack/test/le_audio/
H A DCMakeLists.txt2 project(BTstack-LE-Audio)
80 add_library(btstack STATIC ${SOURCES}) target
89 target_link_directories(btstack PUBLIC ${PORTAUDIO_LIBRARY_DIRS})
90 target_link_libraries(btstack ${PORTAUDIO_LIBRARIES})
99 target_link_directories(btstack PUBLIC ${FDK_AAC_LIBRARY_DIRS})
100 target_link_libraries(btstack ${FDK_AAC_LIBRARIES})
109 target_link_directories(btstack PUBLIC ${LDAC_ENCODER_LIBRARY_DIRS})
110 target_link_libraries(btstack ${LDAC_ENCODER_LIBRARIES})
119 target_link_directories(btstack PUBLIC ${LDAC_DECODER_LIBRARY_DIRS})
120 target_link_libraries(btstack ${LDAC_DECODER_LIBRARIES})
[all …]
/btstack/port/archive/wiced-h5/
H A DREADME.md1 # BTstack port for WICED platform using H5 transport and Broadcom/Cypress Bluetooth chipsets.
3 # BTstack port for WICED platform
11 To integrate BTstack into the WICED SDK, please move the BTstack project into WICED-SDK-6.2.1/libra…
13 Then create projects for BTstack examples in WICED/apps/btstack by running:
17 Now, the BTstack examples can be build from the WICED root in the same way as other examples, e.g.:
19 ./make btstack.spp_and_le_counter-RB_DUO
32 …he .gatt file. Therefore you need to run ./update_gatt_db.sh in the apps/btstack/$(EXAMPLE) folder…
42 … to upload the FW Mini Driver a.k.a. patchram a.k.a. init script via H5. BTstack uses btstack_chip…
44 …nity Forum](https://community.cypress.com/thread/8424) As a work around, BTstack was configured to…
H A Dcreate_examples.py3 # Create project files for all BTstack embedded examples in WICED/apps/btstack
12 # BTstack example 'EXAMPLE' for WICED port
24 $(NAME)_SOURCES := ../../../libraries/btstack/example/EXAMPLE.c
25 $(NAME)_COMPONENTS += btstack/port/wiced-h5
30 # Additional CFLAGS for BTstack Component compilation
39 BTSTACK_ROOT=$DIR/../../../libraries/btstack
56 print("Cannot find WICED root. Make sure BTstack is checked out in WICED-SDK-X/libraries")
104 # path to WICED/apps/btstack
105 apps_btstack = wiced_root + "/apps/btstack/"
107 print("\nCreating examples in apps/btstack:")
[all …]
/btstack/port/wiced-h4/
H A Dcreate_examples.py3 # Create project files for all BTstack embedded examples in WICED/apps/btstack
12 # BTstack example 'EXAMPLE' for WICED port
24 $(NAME)_SOURCES := ../../../libraries/btstack/example/EXAMPLE.c
25 $(NAME)_COMPONENTS += btstack/port/wiced-h4
30 # Additional CFLAGS for BTstack Component compilation
39 BTSTACK_ROOT=$DIR/../../../libraries/btstack
56 print("Cannot find WICED root. Make sure BTstack is checked out in WICED-SDK-X/libraries")
98 # path to WICED/apps/btstack
99 apps_btstack = wiced_root + "/apps/btstack/"
101 print("\nCreating examples in apps/btstack:")
[all …]
/btstack/port/stm32-f4discovery-usb/
H A D.mxproject4 HeaderFiles#0=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/USB_HOST/App/usb_hos…
5 HeaderFiles#1=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/USB_HOST/Target/usbh…
6 HeaderFiles#2=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/USB_HOST/Target/usbh…
7 HeaderFiles#3=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/Core/Inc/stm32f4xx_i…
8 HeaderFiles#4=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/Core/Inc/stm32f4xx_h…
9 HeaderFiles#5=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/Core/Inc/main.h
11 HeaderPath#0=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/USB_HOST/App
12 HeaderPath#1=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/USB_HOST/Target
13 HeaderPath#2=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/Core/Inc
16 SourceFiles#0=/Users/mringwal/Projects/btstack/port/stm32-f4discovery-usb-blog/USB_HOST/App/usb_hos…
[all …]
/btstack/chipset/
H A DREADME.md3 …physically and then provide information about popular Bluetooth chipset and their use with BTstack.
25 … difference to H5 is that Even Parity is used for BCSP. To use BCSP with BTstack, you use the H5 t…
61 …E | Multiple LE Roles (3) | Classic SC (4) | LE Addr Resolution | BTstack folder | Comment …
73 … | Don't know | da145xx | Official HCI firmware included in BTstack |
74 … | Don't know | da145xx | Official HCI firmware included in BTstack |
75 … | Yes | da145xx | Official HCI firmware included in BTstack |
99BTstack can receive SCO packets without problems. However, only TI CC256x has support for using SC…
112BTstack integration**: *btstack_chipset_atwilc3000.c* contains the code to download the Bluetooth …
141 BTstack supports uploading of the init script in two variants: using .hcd files looked up by name i…
145 …psets. The chipsets don't implement the SCO Flow Control that is used by BTstack for UART connecte…
[all …]
/btstack/port/apollo2-em9304/example-template/gcc/
H A DMakefile94 # BTstack
95 INCLUDES += -I${AM_SoftwareRoot}/third_party/btstack/src
96 INCLUDES += -I${AM_SoftwareRoot}/third_party/btstack/platform/embedded
97 INCLUDES += -I${AM_SoftwareRoot}/third_party/btstack/port/apollo2-em9304
98 INCLUDES += -I${AM_SoftwareRoot}/third_party/btstack/3rd-party/micro-ecc
100 VPATH += ${AM_SoftwareRoot}/third_party/btstack/3rd-party/micro-ecc
101 VPATH += ${AM_SoftwareRoot}/third_party/btstack/example
102 VPATH += ${AM_SoftwareRoot}/third_party/btstack/platform/embedded
103 VPATH += ${AM_SoftwareRoot}/third_party/btstack/port/apollo2-em9304
104 VPATH += ${AM_SoftwareRoot}/third_party/btstack/src
[all …]

12345678910>>...23