Skip to main content
Open topic with navigation CAPL Functions » MOST » mostSyncDealloc

mostSyncDealloc

Valid for: CANoe DE

Function Syntax

long mostSyncDealloc(long label);
Callback: void OnMostSyncDeallocResult(long deallocResult, long label);

Description

MOST25: This function releases reserved bandwidth for synchronous channels by sending a Dealloc system message to the TimingMaster. The result is reported by means of the callback function OnMostSyncDeallocResult. This requires defining OnMostSyncDeallocResult in the CAPL program using the following signature: OnMostSyncDeallocResult(long deallocResult, long label) Note
  • The service can only process one request at a time. After mostSyncAlloc or mostSyncDealloc is called, the next request cannot be made until the result of the current request is returned – asynchronously.
  • OnMostSyncDeallocResult() is only called for channel labels reserved via mostSyncAlloc.
  • OnMostSyncDeallocResult() is also called for each reserved label if release of all channels is requested (DeallocAll).
Most150: Deallocates synchronous bandwidth on MOST150. Note In contrast to MOST25, the callback function OnMostSyncDeallocResult will not be called on completion. mostAllocTableGetCL can be applied to check the de-allocation result. Callback: This function is called on completion of the deallocation of channels triggered by the call of the function. Whether the deallocation was successful and if so, which channels were deallocated, is indicated in the parameters described below.

Parameters

Return Values

See error codes

Example

OnMostAllocTablemostSyncAllocmostSetSyncAudiomostSetStressNodeParameter