# null

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

[CAPL Functions](../../CAPLfunctions.md) » [K-Line](../CAPLfunctionsKLineOverview.md) » KLine\_SetFunctionalAddress

# KLine\_SetFunctionalAddress

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Function Syntax

`long KLine_SetFunctionalAddress(Byte functionalAddress)`

## Description

Sets the functional address of the ECU, i.e. it can receive broadcast messages directed at this address.

## Parameters

* **functionalAddress**: Broadcast address used by the tester to address a group of ECUs.

## Return Values

On success 0, otherwise a value less than 0.

## Example

—

[KLine\_SetECUAddress](CAPLfunctionKLineSetECUAddress.md) • [KLine\_SetTesterAddress](CAPLfunctionKLineSetTesterAddress.md)
