Compare commits
1 commit
678a4e70ab
...
e7fb7ed2b8
Author | SHA1 | Date | |
---|---|---|---|
e7fb7ed2b8 |
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
package im.angry.openeuicc.core
|
||||
|
||||
import im.angry.openeuicc.util.UiccPortInfoCompat
|
||||
import im.angry.openeuicc.util.decodeHex
|
||||
import kotlinx.coroutines.flow.Flow
|
||||
import kotlinx.coroutines.flow.first
|
||||
import kotlinx.coroutines.runBlocking
|
||||
|
@ -17,7 +18,7 @@ class EuiccChannelImpl(
|
|||
override val isdrAid: ByteArray,
|
||||
verboseLoggingFlow: Flow<Boolean>,
|
||||
ignoreTLSCertificateFlow: Flow<Boolean>,
|
||||
es10xMssFlow: Flow<Int>,
|
||||
es10xMss: Flow<Int>,
|
||||
) : EuiccChannel {
|
||||
override val slotId = port.card.physicalSlotIndex
|
||||
override val logicalSlotId = port.logicalSlotIndex
|
||||
|
@ -29,7 +30,7 @@ class EuiccChannelImpl(
|
|||
apduInterface,
|
||||
HttpInterfaceImpl(verboseLoggingFlow, ignoreTLSCertificateFlow),
|
||||
).also {
|
||||
it.setEs10xMss(runBlocking { es10xMssFlow.first().toByte() })
|
||||
it.setEs10xMss(runBlocking { es10xMss.first().toByte() })
|
||||
}
|
||||
|
||||
override val atr: ByteArray?
|
||||
|
|
Loading…
Add table
Reference in a new issue