btstack/port/wiced-h4/readme.md

30 lines
1.5 KiB
Markdown
Raw Normal View History

2016-01-04 15:58:06 +00:00
# BTstack port for WICED platform
2017-11-09 10:11:22 +00:00
Tested with:
- WICED SDK 3.4-5.2
- [RedBear Duo](https://redbear.cc/product/wifi-ble/redbear-duo.html): Please install [RedBear WICED Add-On](https://github.com/redbear/WICED-SDK)
- [Inventek Systems ISM4334x](https://www.inventeksys.com/products-page/wifi-modules/serial-wifi/ism43341-m4g-l44-cu-embedded-serial-to-wifi-ble-nfc-module/): Please install [Inventek WICED Patches](https://www.inventeksys.com/inventekproducts/wifi-products/broadcom-wiced/)
To integrate BTstack into the WICED SDK, please move the BTstack project into WICED-SDK-5.2/libraries.
2016-01-04 15:58:06 +00:00
Then create projects for BTstack examples in WICED/apps/btstack by running:
./create_examples.py
Now, the BTstack examples can be build from the WICED root in the same way as other examples, e.g.:
2016-02-28 21:18:25 +00:00
./make btstack.spp_and_le_counter-RB_DUO
2016-01-04 15:58:06 +00:00
2017-11-09 10:11:22 +00:00
to build the SPP-and-LE-Counter example for the RedBear Duo (or use ISM43340_M4G_L44 for the Inventek Systems devices).
2016-01-04 15:58:06 +00:00
2017-11-09 10:11:22 +00:00
See WICED documentation about how to upload the firmware.
2016-01-04 15:58:06 +00:00
It should work with all WICED platforms that contain a Broadcom Bluetooth chipset.
2017-11-09 10:11:22 +00:00
The maximal baud rate is currenty limited to 1 mbps.
2016-01-04 15:58:06 +00:00
The port uses the generated WIFI address plus 1 as Bluetooth MAC address.
2017-11-09 10:11:22 +00:00
It persists the LE Device DB and Classic Link Keys via the DCT mechanism.
2016-01-04 15:58:06 +00:00
2016-10-24 08:04:10 +00:00
All examples that rovide a GATT Server use the GATT DB in the .gatt file. Therefore you need to run ./update_gatt_db.sh in the apps/btstack/$(EXAMPLE) folder after modifying the .gatt file.