MdocConnectionMethodBle
constructor(supportsPeripheralServerMode: Boolean, supportsCentralClientMode: Boolean, peripheralServerModeUuid: UUID?, centralClientModeUuid: UUID?, peripheralServerModePsm: Int? = null, peripheralServerModeMacAddress: ByteString? = null)
Parameters
supportsPeripheralServerMode
whether mdoc peripheral mode is supported.
supportsCentralClientMode
whether mdoc central client mode is supported.
peripheralServerModeUuid
the UUID to use for mdoc peripheral server mode.
centralClientModeUuid
the UUID to use for mdoc central client mode.
peripheralServerModePsm
the L2CAP PSM, if set. This is currently not standardized, use at your own risk.
peripheralServerModeMacAddress
the MAC address, if set.