openthread_sys

Function otThreadDeviceRoleToString

Source
pub unsafe extern "C" fn otThreadDeviceRoleToString(
    aRole: otDeviceRole,
) -> *const c_char
Expand description

Convert the device role to human-readable string.

@param[in] aRole The device role to convert.

@returns A string representing @p aRole.