otPlatDiagGpioSet() function
Sets the gpio value.
Arguments
aValue
true to set the gpio to high level, or false otherwise.
Return value
OT_ERROR_NONE Successfully set the gpio. OT_ERROR_FAILED A platform error occurred while setting the gpio. OT_ERROR_INVALID_ARGS @p aGpio is not supported. OT_ERROR_INVALID_STATE Diagnostic mode was not enabled or @p aGpio is not configured as output. OT_ERROR_NOT_IMPLEMENTED This function is not implemented or configured on the platform.