xref: /btstack/port/wiced-h4/README.md (revision 34fd36da1820bede7fdeb1f09f53c180688c8c25)
1*34fd36daSMatthias Ringwald# BTstack Port for WICED platform
2c7558746SMatthias Ringwald
3c7558746SMatthias RingwaldTested with:
4b78fcc89SMatthias Ringwald- WICED SDK 3.4-6.2.1
5c7558746SMatthias Ringwald- [RedBear Duo](https://redbear.cc/product/wifi-ble/redbear-duo.html): Please install [RedBear WICED Add-On](https://github.com/redbear/WICED-SDK)
6b78fcc89SMatthias Ringwald- [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 contact Inventek Systems for WICED platform files
7b78fcc89SMatthias Ringwald- [Inventek Systems ISM4343](https://www.inventeksys.com/wifi/wifi-modules/ism4343-wmb-l151/) (BCM43438 A1) - Please contact Inventek Systems for WICED platform files
8c7558746SMatthias Ringwald
9b78fcc89SMatthias RingwaldTo integrate BTstack into the WICED SDK, please move the BTstack project into WICED-SDK-6.2.1/libraries.
10c7558746SMatthias Ringwald
11c7558746SMatthias RingwaldThen create projects for BTstack examples in WICED/apps/btstack by running:
12c7558746SMatthias Ringwald
13c7558746SMatthias Ringwald	./create_examples.py
14c7558746SMatthias Ringwald
15c7558746SMatthias RingwaldNow, the BTstack examples can be build from the WICED root in the same way as other examples, e.g.:
16c7558746SMatthias Ringwald
17c7558746SMatthias Ringwald	./make btstack.spp_and_le_counter-RB_DUO
18c7558746SMatthias Ringwald
19b78fcc89SMatthias Ringwaldto build the SPP-and-LE-Counter example for the RedBear Duo (or use ISM43340_M4G_L44 / ISM4343_WBM_L151 for the Inventek Systems devices).
20c7558746SMatthias Ringwald
21c7558746SMatthias RingwaldSee WICED documentation about how to upload the firmware.
22c7558746SMatthias Ringwald
23c7558746SMatthias RingwaldIt should work with all WICED platforms that contain a Broadcom Bluetooth chipset.
24c7558746SMatthias Ringwald
25c7558746SMatthias RingwaldThe maximal baud rate is currenty limited to 1 mbps.
26c7558746SMatthias Ringwald
27c7558746SMatthias RingwaldThe port uses the generated WIFI address plus 1 as Bluetooth MAC address.
28c7558746SMatthias RingwaldIt persists the LE Device DB and Classic Link Keys via the DCT mechanism.
29c7558746SMatthias Ringwald
30c7558746SMatthias RingwaldAll 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.
31