# Function handling incoming signals def recvFunc(canmsg): # Vector of blacklisted Identifiers blacklist = [11, 13, 55]; if canmsg.Id in blacklist: return False; # Drops message, will not be displayed or logged return True;