Skip to content

Feature Request: unlock Bluetooth Mesh™ capabilities buried in BTstack #1691

@theshteves

Description

@theshteves

I just caught myself reinventing the wheel when I discovered Bluetooth Mesh™ does what I want & more. Fortunately, BlueKitchen has already been working on Bluetooth Mesh™ support for years! I tried to build their hidden example, mesh_node_demo.c, as a template for my project.

Side note: I couldn't find a single GitHub Issue or reason why pico-examples nor pico-extras include mesh_node_demo, unlike the rest of their examples. It has been there for 5 years.

After enough fighting with our build system, this is the most harmonious solution I could work out. I'm excited for other Pico W users to discover mesh networking!

Add CMake library: pico_btstack_mesh

  • Set ENABLE_MESH flag by default
  • Link all of BTstack's src/mesh/**/*.c
  • Include all of pico_btstack_ble (not just pico_btstack_base by default)
  • Remove dangling ${PICO_BTSTACK_PATH}/src/mesh/gatt-service/* mesh references from pico_btstack_ble
  • TODO: Document in next major Pico SDK release

How can I help?

👇 See Pull Request below

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions