#include "j1939_diag_mem.h"
{
{
(void) J1939_PgnSetCounter(ubNetV, 65226, 1);
}
{
}
}
void J1939_DiagMemRequest(uint8_t ubNetV, uint8_t ubSrcAddrV, J1939_MemAccess_ts * ptsMemoryV)
{
}
{
switch (ulPgnV)
{
case 100:
break;
case 65260:
break;
default:
break;
}
}
{
}
{
uint8_t aubNameT[8];
uint8_t ubCntT;
if(ubSrcAddrV == 0)
{
for(ubCntT = 0; ubCntT < 8; ubCntT++)
{
aubNameT[ubCntT] = *pubDataV;
pubDataV++;
}
if (aubNameT[0] == 0x43)
{
}
}
}
{
}
{
uint32_t ulIdentityT;
ulIdentityT = 0x00223456;
ulIdentityT = ulIdentityT & 0x001FFFFF;
return (ulIdentityT);
}
{
return (ubCurrentAddressV + 2);
}
J1939 Diagnostic Functions .
@ eJ1939_BROADCAST_START
Definition j1939_diag.h:92
@ eJ1939_BROADCAST_STOP
Definition j1939_diag.h:89
void J1939_DiagHoldEvent(uint8_t ubNetV, uint8_t ubBroadcastSignalV)
J1939 Management Functions .
void J1939_MgrEventRcvTimeout(uint8_t ubNetV, uint32_t ulPgnV)
void J1939_MgrOnBusOff(uint8_t ubNetV)
J1939 Identifier calculation functions .
J1939 Network management .
uint32_t J1939_NmtGetIdentityNumber(uint8_t ubNetV)
void J1939_NmtEventClaimAddess(uint8_t ubNetV, uint8_t ubSrcAddrV, uint8_t *pubDataV)
J1939_Name_ts * J1939_NmtGetApplicationName(uint8_t ubNetV)
uint8_t J1939_NmtGetNewAddress(uint8_t ubNetV, uint8_t ubCurrentAddressV)
uint16_t J1939_TmrCalcTicks(uint16_t uwReqTimingV)
Calculate number of timer ticks.
Access to ECU NAME.
Definition j1939_nmt.h:69