Home
last modified time | relevance | path

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

/openthread-3.4.0/src/posix/platform/
Dradio.cpp140 uint16_t regionCode; in Init() local
143regionCode = static_cast<uint16_t>(static_cast<uint16_t>(region[0]) << 8) + static_cast<uint16_t>(… in Init()
144 SuccessOrDie(otPlatRadioSetRegion(gInstance, regionCode)); in Init()
/openthread-3.4.0/src/ncp/
Dncp_base.cpp2323 uint16_t regionCode; in HandlePropertyGet() local
2326 error = otPlatRadioGetRegion(mInstance, &regionCode); in HandlePropertyGet()
2329 error = mEncoder.WriteUint16(regionCode); in HandlePropertyGet()
2341 uint16_t regionCode; in HandlePropertySet() local
2344 SuccessOrExit(error = mDecoder.ReadUint16(regionCode)); in HandlePropertySet()
2345 error = otPlatRadioSetRegion(mInstance, regionCode); in HandlePropertySet()
/openthread-3.4.0/src/cli/
Dcli.cpp6795 uint16_t regionCode; in Process() local
6799 SuccessOrExit(error = otPlatRadioGetRegion(GetInstancePtr(), &regionCode)); in Process()
6800 OutputLine("%c%c", regionCode >> 8, regionCode & 0xff); in Process()
6818 regionCode = static_cast<uint16_t>(static_cast<uint16_t>(aArgs[0].GetCString()[0]) << 8) + in Process()
6820 error = otPlatRadioSetRegion(GetInstancePtr(), regionCode); in Process()