Home
last modified time | relevance | path

Searched refs:WriteUint8 (Results 1 – 8 of 8) sorted by relevance

/openthread-3.6.0/src/ncp/
Dncp_base_ftd.cpp74 SuccessOrExit(error = mEncoder.WriteUint8(aChildInfo.mNetworkDataVersion)); in EncodeChildInfo()
75 SuccessOrExit(error = mEncoder.WriteUint8(aChildInfo.mLinkQualityIn)); in EncodeChildInfo()
77 SuccessOrExit(error = mEncoder.WriteUint8(modeFlags)); in EncodeChildInfo()
110 SuccessOrExit(mEncoder.WriteUint8(aInfo.mLinkQuality3)); in HandleParentResponseInfo()
111 SuccessOrExit(mEncoder.WriteUint8(aInfo.mLinkQuality2)); in HandleParentResponseInfo()
112 SuccessOrExit(mEncoder.WriteUint8(aInfo.mLinkQuality1)); in HandleParentResponseInfo()
199 return mEncoder.WriteUint8(otThreadGetLocalLeaderWeight(mInstance)); in HandlePropertyGet()
204 return mEncoder.WriteUint8(otThreadGetLeaderWeight(mInstance)); in HandlePropertyGet()
250 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mRouterId)); in HandlePropertyGet()
251 SuccessOrExit(error = mEncoder.WriteUint8(routerInfo.mNextHop)); in HandlePropertyGet()
[all …]
Dncp_base_mtd.cpp201 SuccessOrExit(error = mEncoder.WriteUint8(aNeighborInfo.mLinkQualityIn)); in EncodeNeighborInfo()
203 SuccessOrExit(error = mEncoder.WriteUint8(modeFlags)); in EncodeNeighborInfo()
225 SuccessOrExit(error = mEncoder.WriteUint8(SPINEL_THREAD_LINK_METRIC_PDU_COUNT)); in EncodeLinkMetricsValues()
233 SuccessOrExit(error = mEncoder.WriteUint8(SPINEL_THREAD_LINK_METRIC_LQI)); in EncodeLinkMetricsValues()
234 SuccessOrExit(error = mEncoder.WriteUint8(aMetricsValues->mLqiValue)); in EncodeLinkMetricsValues()
241 SuccessOrExit(error = mEncoder.WriteUint8(SPINEL_THREAD_LINK_METRIC_LINK_MARGIN)); in EncodeLinkMetricsValues()
242 SuccessOrExit(error = mEncoder.WriteUint8(aMetricsValues->mLinkMarginValue)); in EncodeLinkMetricsValues()
249 SuccessOrExit(error = mEncoder.WriteUint8(SPINEL_THREAD_LINK_METRIC_RSSI)); in EncodeLinkMetricsValues()
313 return mEncoder.WriteUint8(otLinkGetCslChannel(mInstance)); in HandlePropertyGet()
383 SuccessOrExit(mEncoder.WriteUint8(static_cast<uint8_t>(ThreadErrorToSpinelStatus(aError)))); in HandleMlrRegResult()
[all …]
Dncp_base_radio.cpp104 …SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mChannel : 0)); // 802.15.4 channel (Receive ch… in PackRadioFrame()
105 SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mInfo.mRxInfo.mLqi in PackRadioFrame()
116 …SuccessOrExit(mEncoder.WriteUint8(aFrame ? aFrame->mInfo.mRxInfo.mAckKeyId : 0)); // The ACK auxil… in PackRadioFrame()
201 SuccessOrExit(mEncoder.WriteUint8(keyId)); in LinkRawTransmitDone()
232 SuccessOrExit(mEncoder.WriteUint8(static_cast<uint8_t>(scanChannel))); in LinkRawEnergyScanDone()
241 SuccessOrExit(mEncoder.WriteUint8(SPINEL_SCAN_STATE_IDLE)); in LinkRawEnergyScanDone()
591 SuccessOrExit(error = mEncoder.WriteUint8(static_cast<uint8_t>(iid))); in HandlePropertyGet()
Dncp_base.cpp735 SuccessOrExit(error = mEncoder.WriteUint8(ConvertLogLevel(aLogLevel))); in Log()
1463 return mEncoder.WriteUint8(otLinkGetChannel(mInstance)); in HandlePropertyGet()
1502 …return mEncoder.WriteUint8(isPromiscuous ? SPINEL_MAC_PROMISCUOUS_MODE_FULL : SPINEL_MAC_PROMISCUO… in HandlePropertyGet()
1630 return mEncoder.WriteUint8(otPlatRadioGetCslAccuracy(mInstance)); in HandlePropertyGet()
1637 return mEncoder.WriteUint8(otPlatRadioGetCslUncertainty(mInstance)); in HandlePropertyGet()
1649 SuccessOrExit(error = mEncoder.WriteUint8(i)); in EncodeChannelMask()
1738 return mEncoder.WriteUint8(scanState); in HandlePropertyGet()
2089 return mEncoder.WriteUint8(instances); in HandlePropertyGet()
2113 return mEncoder.WriteUint8(state); in HandlePropertyGet()
2172 return mEncoder.WriteUint8(SPINEL_MCU_POWER_STATE_ON); in HandlePropertyGet()
[all …]
/openthread-3.6.0/src/lib/spinel/
Dspinel_encoder.hpp193 otError WriteUint8(uint8_t aUint8) { return mNcpBuffer.InFrameFeedByte(aUint8); } in WriteUint8() function in ot::Spinel::Encoder
211 otError WriteInt8(int8_t aInt8) { return WriteUint8(static_cast<uint8_t>(aInt8)); } in WriteInt8()
Dspinel_encoder.cpp64 SuccessOrExit(error = WriteUint8(aHeader)); in BeginFrame()
/openthread-3.6.0/tests/unit/
Dtest_spinel_encoder.cpp123 SuccessOrQuit(encoder.WriteUint8(kUint8)); in TestEncoder()
187 SuccessOrQuit(encoder.WriteUint8(kUint8)); in TestEncoder()
236 SuccessOrQuit(encoder.WriteUint8(kUint8)); in TestEncoder()
283 SuccessOrQuit(encoder.WriteUint8(kUint8)); in TestEncoder()
316 SuccessOrQuit(encoder.WriteUint8(kUint8)); in TestEncoder()
Dtest_multipan_rcp_instances.cpp245 SuccessOrQuit(mEncoder.WriteUint8(sTxFrame[mIid].mChannel)); in createTransmitFrame()
246 SuccessOrQuit(mEncoder.WriteUint8(sTxFrame[mIid].mInfo.mTxInfo.mMaxCsmaBackoffs)); in createTransmitFrame()
247 SuccessOrQuit(mEncoder.WriteUint8(sTxFrame[mIid].mInfo.mTxInfo.mMaxFrameRetries)); in createTransmitFrame()
261 …SuccessOrQuit(mEncoder.WriteUint8(aIid | (aForce ? 0 : (1 << SPINEL_MULTIPAN_INTERFACE_SOFT_SWITCH… in createSwitchoverRequest()
329 SuccessOrQuit(mEncoder.WriteUint8(spinelHeader)); in startFrame()