Searched refs:dataLen (Results 1 – 5 of 5) sorted by relevance
/openthread-latest/src/ncp/ |
D | ncp_hdlc.cpp | 298 size_t dataLen = bufLength; in HandleFrame() local 299 if (SpinelEncrypter::DecryptInbound(buf, kRxBufferSize, &dataLen)) in HandleFrame() 301 super_t::HandleReceive(buf, dataLen); in HandleFrame()
|
D | ncp_base.cpp | 1405 uint16_t dataLen; in CommandHandler_POKE() local 1409 SuccessOrExit(parseError = mDecoder.ReadData(dataPtr, dataLen)); in CommandHandler_POKE() 1412 VerifyOrExit(count <= dataLen, parseError = OT_ERROR_INVALID_ARGS); in CommandHandler_POKE() 2750 uint16_t dataLen; in HandlePropertyInsert() local 2754 SuccessOrExit(error = mDecoder.ReadDataWithLen(dataPtr, dataLen)); in HandlePropertyInsert() 2755 error = otPlatRadioAddCalibratedPower(mInstance, channel, actualPower, dataPtr, dataLen); in HandlePropertyInsert()
|
D | ncp_base_mtd.cpp | 1102 uint16_t dataLen; in HandlePropertyInsert() local 1107 SuccessOrExit(error = mDecoder.ReadDataWithLen(data, dataLen)); in HandlePropertyInsert() 1109 VerifyOrExit((dataLen <= sizeof(cfg.mServiceData)), error = OT_ERROR_INVALID_ARGS); in HandlePropertyInsert() 1110 memcpy(cfg.mServiceData, data, dataLen); in HandlePropertyInsert() 1113 cfg.mServiceDataLength = static_cast<uint8_t>(dataLen); in HandlePropertyInsert() 1117 SuccessOrExit(error = mDecoder.ReadDataWithLen(data, dataLen)); in HandlePropertyInsert() 1119 VerifyOrExit((dataLen <= sizeof(cfg.mServerConfig.mServerData)), error = OT_ERROR_INVALID_ARGS); in HandlePropertyInsert() 1120 memcpy(cfg.mServerConfig.mServerData, data, dataLen); in HandlePropertyInsert() 1123 cfg.mServerConfig.mServerDataLength = static_cast<uint8_t>(dataLen); in HandlePropertyInsert()
|
/openthread-latest/tests/unit/ |
D | test_spinel_encoder.cpp | 113 spinel_size_t dataLen; in TestEncoder() local 156 &utf_1, &utf_2, &dataPtr, &dataLen); in TestEncoder() 178 VerifyOrQuit(dataLen == sizeof(kData)); in TestEncoder() 222 &u8, &dataPtr, &dataLen, &i16); in TestEncoder()
|
/openthread-latest/src/core/mac/ |
D | mac.cpp | 2397 uint8_t dataLen = 0; in ProcessEnhAckProbing() local 2401 dataLen = enhAckProbingIe->GetLength() - sizeof(VendorIeHeader); in ProcessEnhAckProbing() 2402 VerifyOrExit(dataLen <= kEnhAckProbingIeMaxLen); in ProcessEnhAckProbing() 2404 Get<LinkMetrics::Initiator>().ProcessEnhAckIeData(data, dataLen, aNeighbor); in ProcessEnhAckProbing()
|