PassThruStopPeriodicMsg

Syntax

#include "j2534_v0404.h"

long PassThruStopPeriodicMsg(unsigned long ChannelID, unsigned long MsgID);


Description
Terminate the specified periodic message. Once terminated the message identifier or handle value is invalid.

Parameters
ChannelID - Logical communication channel identifier
MsgID - Message identifier or handle assigned by the J2534 API/DLL when PassThruStartPeriodicMsg function was called.

See Also: PassThruStartPeriodicMsg

See Also: PassThruIotcl (CLEAR_PERIODIC_MSGS)


Example:


PassThruStartPeriodicMsg(ChannelID, &Msg, &MsgID, TimeInterval);

// Perform vehicle communication here

PassThruStopPeriodicMsg(ChannelID, MsgID);

BACK