> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionLINSetMasterRequestDirtyFlag

# linSetMasterRequestDirtyFlag

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/LIN/Functions/CAPLfunctionLINSetMasterRequestDirtyFlag.md)

**CAPL Functions** » [LIN](../CAPLfunctionsLINOverview.md) » linSetMasterRequestDirtyFlag

**Valid for**: CANoe DE • CANoe4SW DE

## Function Syntax

```
dword linSetMasterRequestDirtyFlag (dword dirty);
```

## Description

Sets the dirty flag for the LIN master request frame (frame identifier=0x3C). The master request only gets transmitted when the dirty flag is set.

**Note**: The dirty flag also gets set implicitly with every data update on the master request.

## Parameters

* **dirty**
  * 0: clear the dirty flag
  * 1: set the dirty flag

## Return Values

On success, a value unequal to zero, otherwise zero.

## Example

—
