MeshNetwork

actual fun MeshNetwork(builder: MeshNetworkBuilder.() -> Unit): MeshNetwork

Android implementation of MeshNetwork factory.

Creates a fully functional MeshNetworkImpl backed by core kmp-ble APIs. BLE Mesh on Android uses the GATT Proxy bearer via Peripheral.connect() and optionally PB-ADV via Scanner for unprovisioned device discovery.

expect fun MeshNetwork(builder: MeshNetworkBuilder.() -> Unit): MeshNetwork

Platform-specific factory for MeshNetwork.

Android and iOS provide full BLE Mesh support via core kmp-ble APIs. JVM throws MeshNotSupported since there is no Bluetooth stack.

actual fun MeshNetwork(builder: MeshNetworkBuilder.() -> Unit): MeshNetwork

iOS implementation of MeshNetwork factory.

Creates a fully functional MeshNetworkImpl backed by core kmp-ble APIs. BLE Mesh on iOS uses the GATT Proxy bearer via CoreBluetooth.

actual fun MeshNetwork(builder: MeshNetworkBuilder.() -> Unit): MeshNetwork

JVM implementation -- BLE Mesh is not supported on JVM.