object CoapStackServiceProvider
Utility object for encapsulating dependencies. When invoked returns a StackServiceMapper<CoapEndpoint, BluetoothAddressNodeKey> using a StackPeerBuilder<CoapEndpoint>
operator fun invoke(peerRole: PeerRole = PeerRole.Peripheral, stackConfig: StackConfig = DtlsSocketNetifGattlink(), stackPeerBuilder: StackPeerBuilder<CoapEndpoint> = StackPeerBuilder(CoapEndpoint::class.java, peerRole, CoapEndpointBuilder, stackConfig)): StackServiceMapper<CoapEndpoint, BluetoothAddressNodeKey> |