ot::Radio::SetRegion() method
Sets the region code. The radio region format is the 2-bytes ascii representation of the ISO 3166 alpha-2 code.
Arguments
aRegionCode
The radio region code. The `aRegionCode >> 8` is first ascii char and the `aRegionCode & 0xff` is the second ascii char.
Return value
kErrorFailed Other platform specific errors. kErrorNone Successfully set region code. kErrorNotImplemented The feature is not implemented.
ot::Radio::SetRegion() calls 2 functions:
![]()
ot::Radio::SetRegion()
ot::Radio::SetRegion():
![]()
ot::Radio::SetRegion()