Lines Matching refs:config

29 void NfcExtns::getConfig(NfcConfig& config) {  in getConfig()  argument
34 memset(&config, 0x00, sizeof(NfcConfig)); in getConfig()
39 config.nfaPollBailOutMode = (bool)num; in getConfig()
42 config.maxIsoDepTransceiveLength = (uint32_t)num; in getConfig()
45 config.defaultOffHostRoute = (uint8_t)num; in getConfig()
48 config.defaultOffHostRouteFelica = (uint8_t)num; in getConfig()
51 config.defaultSystemCodeRoute = (uint8_t)num; in getConfig()
54 config.defaultSystemCodePowerState = in getConfig()
58 config.defaultRoute = (uint8_t)num; in getConfig()
62 config.hostAllowlist.resize(retlen); in getConfig()
63 for (long i = 0; i < retlen; i++) config.hostAllowlist[i] = buffer[i]; in getConfig()
66 config.offHostESEPipeId = (uint8_t)num; in getConfig()
69 config.offHostSIMPipeId = (uint8_t)num; in getConfig()
72 config.defaultIsoDepRoute = (uint8_t)num; in getConfig()
76 config.offHostRouteUicc.resize(retlen); in getConfig()
77 for (long i = 0; i < retlen; i++) config.offHostRouteUicc[i] = buffer[i]; in getConfig()
82 config.offHostRouteEse.resize(retlen); in getConfig()
83 for (long i = 0; i < retlen; i++) config.offHostRouteEse[i] = buffer[i]; in getConfig()
88 config.nfaProprietaryCfg.protocol18092Active = (uint8_t)buffer[0]; in getConfig()
89 config.nfaProprietaryCfg.protocolBPrime = (uint8_t)buffer[1]; in getConfig()
90 config.nfaProprietaryCfg.protocolDual = (uint8_t)buffer[2]; in getConfig()
91 config.nfaProprietaryCfg.protocol15693 = (uint8_t)buffer[3]; in getConfig()
92 config.nfaProprietaryCfg.protocolKovio = (uint8_t)buffer[4]; in getConfig()
93 config.nfaProprietaryCfg.protocolMifare = (uint8_t)buffer[5]; in getConfig()
94 config.nfaProprietaryCfg.discoveryPollKovio = (uint8_t)buffer[6]; in getConfig()
95 config.nfaProprietaryCfg.discoveryPollBPrime = (uint8_t)buffer[7]; in getConfig()
96 config.nfaProprietaryCfg.discoveryListenBPrime = (uint8_t)buffer[8]; in getConfig()
98 memset(&config.nfaProprietaryCfg, 0xFF, sizeof(ProtocolDiscoveryConfig)); in getConfig()
102 config.presenceCheckAlgorithm = (PresenceCheckAlgorithm)num; in getConfig()