/**
* \brief         Processing of the received packets from bus
* \param[in]     XLevent& xlEvent message polled from the bus in XLevent format
* \param[in]     unClientIndex is the client index
* \return        void
* \authors       Arunkumar Karri
* \date          07.10.2011 Created
*/
void CDIL_LIN_VectorXL::ProcessLINMsg(XLevent& xlEvent)
{
    if ( S_OK == bClassifyMsgType(xlEvent, sg_asLINMsg) )
    {
        vWriteIntoClientsBuffer(sg_asLINMsg);
    }
}
Exemple #2
0
/**
* \brief         Processing of the received packets from bus
* \param[in]     LinMessageInfo msgInf message polled from the bus in LinMessageInfo format
* \param[in]     unClientIndex is the client index
* \return        void
* \authors       [email protected]
* \date          05.29.2015 Created
*/
void CDIL_LIN_Kvaser::ProcessLINMsg(LinMessageInfo msgInf,unsigned char* msg,unsigned int flags,unsigned int len,unsigned int id,int chnindex)
{
    if ( S_OK == bClassifyMsgType(&msgInf, sg_asLINMsg,msg,flags,len,id, chnindex) )
    {
        vWriteIntoClientsBuffer(sg_asLINMsg);
    }
}