Skip to content

wireless/bluetooth/nimble: Add Bluetooth Mesh support - #3945

Open
raiden00pl wants to merge 3 commits into
apache:masterfrom
railab:dawn-nimble-mesh
Open

raiden00pl wants to merge 3 commits into
apache:masterfrom
railab:dawn-nimble-mesh

Conversation

@raiden00pl

Copy link
Copy Markdown
Member

Summary

wireless/bluetooth/nimble: Add Bluetooth Mesh support

Impact

new feature

Testing

nrf54lm20-dk, nrf5340-dk and nrf52840-dk

Picks up from e00b85cc..3932e99f:
- porting/npl: atomic operations API, used by mesh instead of its own
  atomic helpers (fixes the atomic_t clash with nuttx/atomic.h)
- nimble/transport/socket: LE advertising reports allocated from the
  discardable pool so Command Complete events are not dropped
- nimble/transport: double free fix in ble_hci_emspi_rx_acl()
- nimble/ll: connection parameters request and instant handling fixes
- nimble/drivers/dialog_cmac: precomputed AES tables
- mesh doxygen fixes, CI changes

Assisted-by: Claude:claude-fable-5-1
Signed-off-by: raiden00pl <raiden00@railab.me>
Build the NimBLE mesh host sources and map mesh features and resource
limits to Kconfig. With legacy TinyCrypt, export its headers because
the mesh headers include them.

Requires NimBLE 3932e99f or later, whose mesh uses the NPL atomic API
instead of its own atomic_t, which clashed with nuttx/atomic.h.

Tested: nrf54lm20-dk and nrf54l15-tag mesh provisioning, sensor
publication and link test against BlueZ bluetooth-meshd.

Assisted-by: Codex:GPT-6
Signed-off-by: raiden00pl <raiden00@railab.me>
Provisionable mesh nodes over PB-ADV and PB-GATT. The node example
answers Generic OnOff Get and Set with Status, the sensor example
serves one Present Ambient Temperature property with its descriptor,
and the vendor example stores a byte through vendor Get, Set and
Status opcodes.

Assisted-by: Codex:GPT-6
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: raiden00pl <raiden00@railab.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] BLE mesh support for NimBLE

1 participant