/btstack/doc/manual/docs-template/ |
H A D | integration.md | 3 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  {#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 D | architecture.md | 3 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  {#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 …]
|
H A D | index.md | 2 Thanks for checking out BTstack! 5 before highlighting BTstack's main design choices and go over all implemented 8 A series of examples show how BTstack can be used to implement common 11 Finally, we outline the basic steps when integrating BTstack into existing
|
H A D | how_to.md | 3 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 … 149 …BTstack relies on flow control of the HCI transport, either via Hardware CTS/RTS flow control for … [all …]
|
H A D | quick_start.md | 15 - [git](https://git-scm.com) is used to download BTstack source code. To install with MSYS2: pacman… 18 ## Getting BTstack from GitHub 25 [BTstack’s page](https://github.com/bluekitchen/btstack/archive/master.zip) on 30 …ay to try BTstack is on a regular desktop setup like macOS, Linux or Windows together with a stand…
|
/btstack/port/arduino/examples/iBeacon/ |
H A D | iBeacon.ino | 1 #include <BTstack.h> 9 * @text After BTstack.setup(), iBeaconConfigure() configures BTstack 17 BTstack.setup(); 18 BTstack.iBeaconConfigure(&uuid, 4711, 2); 19 BTstack.startAdvertising(); 24 BTstack.loop();
|
/btstack/port/arduino/examples/LEPeripheral/ |
H A D | LEPeripheral.ino | 2 #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")); 35 …BTstack.addGATTCharacteristic(new UUID("f897177b-aee8-4767-8ecc-cc694fd5fcef"), ATT_PROPERTY_READ,… 36 …BTstack.addGATTCharacteristicDynamic(new UUID("f897177b-aee8-4767-8ecc-cc694fd5fce0"), ATT_PROPERT… [all …]
|
/btstack/port/esp32/ |
H A D | README.md | 1 # 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/iBeaconScanner/ |
H A D | iBeaconScanner.ino | 2 #include <BTstack.h> 9 * @text After BTstack.setup(), BTstack is configured to call 17 BTstack.setup(); 18 BTstack.setBLEAdvertisementCallback(advertisementCallback); 19 BTstack.bleStartScanning(); 24 BTstack.loop();
|
/btstack/port/arduino/docs/docs/ |
H A D | index.md | 1 # BTstack Arduino Manual 3 Thanks for checking out BTstack on the Arduino platform! 5 In this manual, we first provide a quick tutorial that helps install the BTstack Library for the Ar… 7 …xamples to get you starting with creating your own Sketches that use the BTstack LE Arduino Shield. 12 So far, we did test the BTstack LE Arduino Shield together with these Arduino boards: 23 [BTstack Google Group](http://groups.google.com/group/btstack-dev)
|
H A D | tutorial.md | 8 ## BTstack Library 10 To install the BTstack library, please download it from <http://bluekitchen-gmbh.com/files/btstack-… 15 After installing the BTstack Library, you have to restart the Arduino IDE to make it show up in the… 19 Please plug the BTstack LE Shield into one of the supported Arduino boards listed on the [Welcome p… 22  26 As a first test, open the iBeaconScanner example via File->Examples->BTstack->iBeaconScanner.
|
/btstack/port/arduino/examples/LECentral/ |
H A D | LECentral.ino | 1 #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/port/posix-h4-nxp/ |
H A D | README.md | 1 # BTstack Port for POSIX Systems with NXP/Marvel H4 Bluetooth Controller 5 In this port, we've show how a NXP/Marvell Controller can be configured for use with BTstack. It's … 11 BTstack's posix-h4-nxp port does not have additional dependencies. You can directly run cmake and t… 20 Please reset the Controller first. On start, BTstack prints the path to the packet log. 24 BTstack counter 0001 25 BTstack up and running on 00:1A:7D:DA:71:13.
|
/btstack/port/arduino/examples/ANCS/ |
H A D | ANCS.ino | 1 #include <BTstack.h> 43 Serial.println("BTstack ANCS Client starting up..."); 45 // startup BTstack and configure log_info/log_error 46 BTstack.setup(); 56 BTstack.setAdvData(sizeof(adv_data), adv_data); 57 BTstack.startAdvertising(); 62 BTstack.loop();
|
/btstack/port/posix-h4/ |
H A D | README.md | 1 # BTstack Port for POSIX Systems with H4 Bluetooth Controller 22 BTstack's POSIX-H4 does not have additional dependencies. You can directly run make. 29 On start, BTstack prints the path to the packet log and prints the information on the detected Buet… 33 BTstack counter 0001 34 BTstack up and running on 00:1A:7D:DA:71:13. 36 Please note that BTstack will increase the baudrate. Before starting again, you should reset or pow…
|
/btstack/port/archive/wiced-h5/ |
H A D | README.md | 1 # 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.: 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…
|
/btstack/port/libusb/ |
H A D | README.md | 1 # BTstack Port for POSIX Systems with libusb Library 4 The quickest way to try BTstack is on a Linux or OS X system with an 71 During startup BTstack queries the Controlle for the Local Name, which is set to the Controller typ… 82 BTstack's HCI USB transport will try to find a suitable Bluetooth module and use it. 84 On start, BTstack will try to find a suitable Bluetooth module. It will also print the path to the … 88 BTstack counter 0001 97 BTstack up and running on 00:1A:7D:DA:71:01. 113 BTstack up and running on 00:1A:7D:DA:71:01. 126 BTstack up and running on 00:1A:7D:DA:71:02.
|
/btstack/port/libusb-intel/ |
H A D | README.md | 1 # BTstack Port for POSIX Systems with Intel Wireless 8260/8265 Controllers 55 BTstack's HCI USB transport will try to find a suitable Bluetooth module and use it. 57 On start, BTstack will try to find a suitable Bluetooth module. It will also print the path to the … 66 BTstack counter 0001 68 BTstack up and running on F8:34:41:D5:BE:6F. 78 BTstack up and running on 00:1A:7D:DA:71:13. 85 BTstack up and running on 00:1A:7D:DA:71:13.
|
/btstack/port/freebsd-netgraph/ |
H A D | README.md | 1 # BTstack Port for FreeBSD Systems 16 BTstack's FeeeBSD port does not have additional dependencies. To compile the cmake project with Make 34 On start, BTstack prints the path to the packet log and prints the information on the detected Buet… 38 BTstack counter 0001 39 BTstack up and running on 00:1A:7D:DA:71:13.
|
/btstack/port/mtk/docs/ |
H A D | ruggear-gettingstarted.tex | 98 \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} 161 BTstack Installer for RugGear/Mediatek devices 173 - start BTstack daemon 177 If BTstack was installed properly, we can have a look at its packet log. 199 \caption{hci\_dump.pklg right after BTstack daemon was installed.} [all …]
|
/btstack/platform/daemon/binding/java/example/com/bluekitchen/ |
H A D | GAPInquiry.java | 4 import com.bluekitchen.btstack.BTstack; 20 private BTstack btstack; 69 btstack = new BTstack(); in test() 70 btstack.setTcpPort(BTstack.DEFAULT_TCP_PORT); in test()
|
/btstack/port/wiced-h4/ |
H A D | README.md | 1 # BTstack Port for WICED platform 9 To integrate BTstack into the WICED SDK, please move the BTstack project into WICED-SDK-6.2.1/libra… 11 Then create projects for BTstack examples in WICED/apps/btstack by running: 15 Now, the BTstack examples can be build from the WICED root in the same way as other examples, e.g.:
|
/btstack/port/raspi/ |
H A D | README.md | 1 # BTstack Port for Raspberry Pi 3 with BCM4343 Bluetooth/Wifi Controller 44 By default, bluez will start up using the the BCM4343. To make it available to BTstack, you can dis… 67 Then, setup a shared folder in Docker that contains the BTstack repository. 68 Now, go to the BTstack repository and 'switch' to the Raspberry Pi Cross-Compiler container: 76 Change to the port/raspi folder inside the BTstack repo: 88 Copy one of the examples to the Rasperry Pi and just run them. BTstack will power cycle the Bluetoo… 95 BTstack counter 0001 96 BTstack up and running at B8:27:EB:27:AF:56 107 …. A Bluetooth Controller power cycle also shuts down Wifi (temporarily). BTstack avoids a power cy…
|
/btstack/port/posix-h4-bcm/ |
H A D | README.md | 1 # BTstack Port for POSIX Systems with modern Infineon (CYW) H4 Bluetooth Controller 10 BTstack's posix-h4-bcm port does not have additional dependencies. You can directly run cmake and t… 20 On start, BTstack opens the serial port, which asserts CTS, and requests you to reset the Controlle… 37 BTstack up and running at 55:56:0A:0A:76:93
|
/btstack/port/qt-h4/ |
H A D | README.md | 1 # BTstack Port for QT with H4 Bluetooth Controller 36 BTstack's HCI USB transport will try to find a suitable Bluetooth module and use it. 38 On start, BTstack will try to find a suitable Bluetooth module. It will also print the path to the … 42 BTstack counter 0001 44 BTstack up and running on 00:1A:7D:DA:71:13.
|