btstack/port/nrf5-zephyr
2017-11-09 13:39:04 +01:00
..
btstack_config.h nrf5-zephyr: increase HCI_ACL_PAYLOAD_SIZE to support larger ATT MTUs and DLE 2017-08-23 16:35:07 +02: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
Makefile.bluedroid-decoder
Makefile.bluedroid-encoder
Makefile.gatt-service
Makefile.src add btstack_tlv.c to most ports 2017-11-09 13:39:04 +01: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: update readme, list todos 2017-08-22 22:45:00 +02: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'.

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