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