> ## 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.

# CAPLfunctionOnLastTransmittedMessageIdChanged

# OnLastTransmittedMessageIdChanged

[CAPL Functions](../../CAPLfunctions.md) » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [OCPP](../CAPLFunctionsSmartChargingOverview.md#BMOCPP) » [Callback Functions](../CAPLFunctionsSmartChargingOverview.md#BMOCPPCallbackFunctions) » OnLastTransmittedMessageIdChanged

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

## Function Syntax

```plaintext theme={null}
void OnLastTransmittedMessageIdChanged ( LastTxMessageIdType LastTxMessageId )
```

## Description

This callback is called after a message was transmitted.

## Parameters

* **LastTxMessageId**: ID of the last message received. See [MessageIDs](../Callbacks/SCC_MessageID.md) for more information.

## Return Values

—

## Example

—
