AWS IoT Device SDK C: Jobs
AWS IoT Jobs library
Return to main page ↑
AwsIotJobs_StateName

Returns a string that describes an AwsIotJobState_t.

const char * AwsIotJobs_StateName( AwsIotJobState_t state );

This function returns a string describing a Job state, state.

The string returned by this function MUST be treated as read-only: any attempt to modify its contents may result in a crash. Therefore, this function is limited to usage in logging.

Parameters
[in]stateThe job state to describe.
Returns
A read-only string that describes state.
Warning
The string returned by this function must never be modified.