connectProxy

abstract suspend fun connectProxy(peripheral: Peripheral): ProxyConnection

Connect to the mesh network via a GATT Proxy node.

The Peripheral must be connected to a proxy-enabled mesh node that exposes the Mesh Proxy Service (UUID 1828).

Return

A ProxyConnection for sending and receiving mesh PDUs.

Parameters

peripheral

A connected peripheral that supports the proxy feature.