Searched refs:cfg (Results 1 – 4 of 4) sorted by relevance
/openthread-3.5.0/third_party/mbedtls/repo/scripts/ |
D | windows_msbuild.bat | 8 set "cfg=Release" & @rem "Debug" or "Release" 20 msbuild /t:Rebuild /p:Configuration=%cfg%%retarget% /m mbedTLS.sln
|
/openthread-3.5.0/src/ncp/ |
D | ncp_base_mtd.cpp | 1096 otServiceConfig cfg; in HandlePropertyInsert() local 1103 SuccessOrExit(error = mDecoder.ReadUint32(cfg.mEnterpriseNumber)); in HandlePropertyInsert() 1106 VerifyOrExit((dataLen <= sizeof(cfg.mServiceData)), error = OT_ERROR_INVALID_ARGS); in HandlePropertyInsert() 1107 memcpy(cfg.mServiceData, data, dataLen); in HandlePropertyInsert() 1109 …static_assert((sizeof(cfg.mServiceData) <= UINT8_MAX), "Cannot handle full range of buffer length"… in HandlePropertyInsert() 1110 cfg.mServiceDataLength = static_cast<uint8_t>(dataLen); in HandlePropertyInsert() 1113 cfg.mServerConfig.mStable = stable; in HandlePropertyInsert() 1116 VerifyOrExit((dataLen <= sizeof(cfg.mServerConfig.mServerData)), error = OT_ERROR_INVALID_ARGS); in HandlePropertyInsert() 1117 memcpy(cfg.mServerConfig.mServerData, data, dataLen); in HandlePropertyInsert() 1119 …static_assert((sizeof(cfg.mServerConfig.mServerData) <= UINT8_MAX), "Cannot handle full range of b… in HandlePropertyInsert() [all …]
|
/openthread-3.5.0/src/cli/ |
D | cli.cpp | 4872 otServiceConfig cfg; in Process() local 4890 SuccessOrExit(error = aArgs[1].ParseAsUint32(cfg.mEnterpriseNumber)); in Process() 4892 length = sizeof(cfg.mServiceData); in Process() 4893 SuccessOrExit(error = aArgs[2].ParseAsHexString(length, cfg.mServiceData)); in Process() 4895 cfg.mServiceDataLength = static_cast<uint8_t>(length); in Process() 4922 length = sizeof(cfg.mServerConfig.mServerData); in Process() 4923 SuccessOrExit(error = aArgs[3].ParseAsHexString(length, cfg.mServerConfig.mServerData)); in Process() 4925 cfg.mServerConfig.mServerDataLength = static_cast<uint8_t>(length); in Process() 4927 cfg.mServerConfig.mStable = true; in Process() 4929 error = otServerAddService(GetInstancePtr(), &cfg); in Process() [all …]
|
/openthread-3.5.0/tools/otci/otci/ |
D | otci.py | 1379 cfg = {} 1383 cfg['channel'] = int(v) 1387 cfg['timeout'] = int(matched.group(1)) 1391 cfg['period'] = int(matched.group(1)) 1395 return cfg
|