Please use code tags when posting code, makes it a lot more readable and prevents the board software from messing it up (e.g. include smileys and so).
Then for your problem.
What info do you get back from your IR receiver? Are that even the sequences you expect to get?
Change
Serial.println(pos);
to
Serial.println(results.value);
and see what comes out.
Furthermore: you expect three-byte codes. Does your IR receiver lib give back the three bytes in one go, or one by one?