Home
last modified time | relevance | path

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

/openthread-3.4.0/src/ncp/
Dncp_base_mtd.cpp3223 uint8_t numericMode; in HandlePropertyGet() local
3226numericMode = LinkFlagsToFlagByte(modeConfig.mRxOnWhenIdle, modeConfig.mDeviceType, modeConfig.mNe… in HandlePropertyGet()
3228 return mEncoder.WriteUint8(numericMode); in HandlePropertyGet()
3233 uint8_t numericMode = 0; in HandlePropertySet() local
3237 SuccessOrExit(error = mDecoder.ReadUint8(numericMode)); in HandlePropertySet()
3240 ((numericMode & SPINEL_THREAD_MODE_RX_ON_WHEN_IDLE) == SPINEL_THREAD_MODE_RX_ON_WHEN_IDLE); in HandlePropertySet()
3241 …modeConfig.mDeviceType = ((numericMode & SPINEL_THREAD_MODE_FULL_THREAD_DEV) == SPINEL_THREAD_MODE… in HandlePropertySet()
3243 … ((numericMode & SPINEL_THREAD_MODE_FULL_NETWORK_DATA) == SPINEL_THREAD_MODE_FULL_NETWORK_DATA); in HandlePropertySet()