This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the levels were successfully set.
If module_level_string is NULL.
If any other error is detected.