btstack/port/nrf5-zephyr
2018-04-20 15:44:18 +02:00
..
btstack_config.h add le_data_channel examples to most ports 2018-01-19 16:32:28 +01:00
create_examples.py nrf5-zephyr: update create_examples.py 2017-08-22 22:32:35 +02:00
flash_nrf51_pca10028.sh
flash_nrf52_pca10040.sh
integrate_btstack.sh nrf5-zephyr: drop remaining patches to zephyr sources. Set Static Random Address directly in main(). Drop previous hack in sm.c 2017-09-14 17:37:51 +02:00
Kconfig
main.c nrf5-zephyr: drop remaining patches to zephyr sources. Set Static Random Address directly in main(). Drop previous hack in sm.c 2017-09-14 17:37:51 +02:00
Makefile
Makefile.ble
Makefile.bluedroid nrf5-zephyr: Makefiles to compile classic part (to get memory footprint on ARM Cortex) 2016-11-11 14:11:04 +01:00
Makefile.bluedroid-decoder nrf5-zephyr: Makefiles to compile classic part (to get memory footprint on ARM Cortex) 2016-11-11 14:11:04 +01:00
Makefile.bluedroid-encoder nrf5-zephyr: Makefiles to compile classic part (to get memory footprint on ARM Cortex) 2016-11-11 14:11:04 +01:00
Makefile.gatt-service
Makefile.src nrf5-zephyr: add btstack_crypto 2018-04-20 15:44:18 +02:00
net-Kconfig.patch
nrf5.conf nrf5-zephyr: update to current zephyr version (master branch) 2017-08-22 22:33:26 +02:00
README.md nrf5-zephyr: recommend Zephyr 1.9-branch for use with BTstack 2018-02-05 09:52:18 +01:00

Experimental port of BTstack to Zephyr running on Nordic nRF5 Series

Overview

This port targets the bare Nordic nRF5-Series chipsets with the BLE Link Layer provided by the Zephyr project.

Status

Working with nRF52 pca10040 dev board. Public BD ADDR is set to 11:22:33:44:55:66 since the default 00:00:00:00:00:00 is filtered by iOS.

Getting Started

To integrate BTstack into Zephyr, please move the BTstack project into the Zephyr root folder 'zephyr'. Please use the Zephry '1.9-branch' for now. In the master branch, Zephyr switched the build system to CMake and this port hasn't been update for that yet.

Then integrate BTstack:

cd /path/to/zephy/btstack/port/nrf5-zephyr
./integrate_btstack.sh

Now, the BTstack examples can be build from the Zephyr examples folder in the same way as other examples, e.g.:

cd /path/to/zephyr/samples/btstack/le_counter
make

to build the le_counter example for the pca10040 dev kit using the ARM GCC compiler.

You can use make flash or ./flash_nrf52_pca10040.sh to download it onto the board.

All examples that provide a GATT Server use the GATT DB in the .gatt file. Therefore you need to run ./update_gatt_db.sh in the example folder after modifying the .gatt file.

This port does not support Data Sources aside from the HCI Controller.

TODO

  • printf is configured by patching `drivers/serial/uart_nrf5.c' to use 115200 (default: 100000). There should be a better way to set baud rate.
  • enable/configure DLE for max packet size for LE Streamer