Searched refs:WriteUint8 (Results 1 – 8 of 8) sorted by relevance
74 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 …]
201 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 …]
104 …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()
735 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 …]
193 otError WriteUint8(uint8_t aUint8) { return mNcpBuffer.InFrameFeedByte(aUint8); } in WriteUint8() function in ot::Spinel::Encoder211 otError WriteInt8(int8_t aInt8) { return WriteUint8(static_cast<uint8_t>(aInt8)); } in WriteInt8()
64 SuccessOrExit(error = WriteUint8(aHeader)); in BeginFrame()
123 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()
245 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()