pub unsafe extern "C" fn otPlatRadioGetRegion(
    aInstance: *mut otInstance,
    aRegionCode: *mut u16
) -> otError
Expand description

Get the region code.

The radio region format is the 2-bytes ascii representation of the ISO 3166 alpha-2 code.

@param[in] aInstance The OpenThread instance structure. @param[out] aRegionCode The radio region.

@retval OT_ERROR_INVALID_ARGS @p aRegionCode is nullptr. @retval OT_ERROR_FAILED Other platform specific errors. @retval OT_ERROR_NONE Successfully got region code. @retval OT_ERROR_NOT_IMPLEMENTED The feature is not implemented.