Searched refs:regionCode (Results 1 – 3 of 3) sorted by relevance
140 uint16_t regionCode; in Init() local143 …regionCode = static_cast<uint16_t>(static_cast<uint16_t>(region[0]) << 8) + static_cast<uint16_t>(… in Init()144 SuccessOrDie(otPlatRadioSetRegion(gInstance, regionCode)); in Init()
2323 uint16_t regionCode; in HandlePropertyGet() local2326 error = otPlatRadioGetRegion(mInstance, ®ionCode); in HandlePropertyGet()2329 error = mEncoder.WriteUint16(regionCode); in HandlePropertyGet()2341 uint16_t regionCode; in HandlePropertySet() local2344 SuccessOrExit(error = mDecoder.ReadUint16(regionCode)); in HandlePropertySet()2345 error = otPlatRadioSetRegion(mInstance, regionCode); in HandlePropertySet()
6795 uint16_t regionCode; in Process() local6799 SuccessOrExit(error = otPlatRadioGetRegion(GetInstancePtr(), ®ionCode)); 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()