Lines Matching refs:buffer
31 std::array<uint8_t, NXP_MAX_CONFIG_STRING_LEN> buffer; in getConfig() local
32 buffer.fill(0); in getConfig()
60 if (GetNxpByteArrayValue(NAME_DEVICE_HOST_ALLOW_LIST, (char*)buffer.data(), in getConfig()
61 buffer.size(), &retlen)) { in getConfig()
63 for (long i = 0; i < retlen; i++) config.hostAllowlist[i] = buffer[i]; in getConfig()
74 if (GetNxpByteArrayValue(NAME_OFFHOST_ROUTE_UICC, (char*)buffer.data(), in getConfig()
75 buffer.size(), &retlen)) { in getConfig()
77 for (long i = 0; i < retlen; i++) config.offHostRouteUicc[i] = buffer[i]; in getConfig()
80 if (GetNxpByteArrayValue(NAME_OFFHOST_ROUTE_ESE, (char*)buffer.data(), in getConfig()
81 buffer.size(), &retlen)) { in getConfig()
83 for (long i = 0; i < retlen; i++) config.offHostRouteEse[i] = buffer[i]; in getConfig()
85 if ((GetNxpByteArrayValue(NAME_NFA_PROPRIETARY_CFG, (char*)buffer.data(), in getConfig()
86 buffer.size(), &retlen)) && 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()