Skip to main content

C2xGetThisMotorolaValue64

Open topic with navigation CAPL Functions » Car2x » C2xGetThisMotorolaValue64 Valid for: CANoe DE Note: This function is only usable in a CAPL callback that had been registered with C2xReceivePacket.

Function Syntax

long C2xGetThisMotorolaValue64( long offset );

Description

This function reads the data of a received packet in Motorola format.

Parameters

  • offset: Byte offset relative to the beginning of a data packet or the payload.

Return Values

Read value.

Example

void OnC2xPacket( long channel, long dir, long radioChannel, long signalStrength, long signalQuality, long packet )
{
  QWORD value64;
  value64 = C2xGetThisMotorolaValue64( 0 );
}