fixed 11 bit address issue

This commit is contained in:
gregjhogan 2018-02-18 19:58:04 -06:00
parent f3b0ad29e2
commit 5c9138db53
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ std::shared_ptr<MessageTx> J2534Connection_ISO15765::parseMessageTx(PASSTHRU_MSG
void J2534Connection_ISO15765::processMessage(const J2534Frame& msg) {
if (msg.ProtocolID != CAN) return;
int fid = get_matching_in_fc_filter_id(msg);
int fid = get_matching_in_fc_filter_id(msg, this->Flags);
if (fid == -1) return;
auto filter = this->filters[fid];

View File

@ -25,7 +25,7 @@ public:
int get_matching_out_fc_filter_id(const std::string & msgdata, unsigned long flags, unsigned long flagmask);
int get_matching_in_fc_filter_id(const J2534Frame& msg, unsigned long flagmask = CAN_29BIT_ID);
int get_matching_in_fc_filter_id(const J2534Frame& msg, unsigned long flagmask);
virtual unsigned long validateTxMsg(PASSTHRU_MSG* msg);