Add delay after trigger depending on the data traffic we are expecting.
Fix parameter of Decode function