Std_ReturnType ComM_GetMaxComMode( ComM_UserHandleType User, ComM_ModeType* ComMode ){ COMM_VALIDATE_INIT(COMM_SERVICEID_GETMAXCOMMODE); COMM_VALIDATE_USER(User, COMM_SERVICEID_GETMAXCOMMODE); // Not implemented (void)ComMode; return E_NOT_OK; }
/** @req COMM80 */ Std_ReturnType ComM_GetRequestedComMode( ComM_UserHandleType User, ComM_ModeType* ComMode ){ COMM_VALIDATE_INIT(COMM_SERVICEID_GETREQUESTEDCOMMODE); COMM_VALIDATE_USER(User, COMM_SERVICEID_GETREQUESTEDCOMMODE); ComM_Internal_UserType* UserInternal = &ComM_Internal.Users[User]; *ComMode = UserInternal->RequestedMode; return E_OK; }
Std_ReturnType ComM_RequestComMode( ComM_UserHandleType User, ComM_ModeType ComMode ){ COMM_VALIDATE_INIT(COMM_SERVICEID_REQUESTCOMMODE); COMM_VALIDATE_USER(User, COMM_SERVICEID_REQUESTCOMMODE); /** @req COMM151 */ COMM_VALIDATE_PARAMETER((ComMode != COMM_SILENT_COMMUNICATION), COMM_SERVICEID_REQUESTCOMMODE); return ComM_Internal_RequestComMode(User, ComMode); }
Std_ReturnType ComM_GetMaxComMode( ComM_UserHandleType User, ComM_ModeType* ComMode ){ COMM_VALIDATE_INIT(COMM_SERVICEID_GETMAXCOMMODE); COMM_VALIDATE_USER(User, COMM_SERVICEID_GETMAXCOMMODE); // Not implemented //lint -estring(920,pointer) /* cast to void */ (void)ComMode; //lint +estring(920,pointer) /* cast to void */ return E_NOT_OK; }
/** @req COMM84 */ Std_ReturnType ComM_GetCurrentComMode( ComM_UserHandleType User, ComM_ModeType* ComMode ){ COMM_VALIDATE_INIT(COMM_SERVICEID_GETCURRENTCOMMODE); COMM_VALIDATE_USER(User, COMM_SERVICEID_GETCURRENTCOMMODE); return ComM_Internal_PropagateGetCurrentComMode(User, ComMode); }