I've given up on trying to decode the protocol used in the Harmony Flirc profile. It doesn't seem to follow any of the published standards (RC5/6 NEC, Sony etc) and I don't have time to record each function, To add the missing functions, I'll probably use an NEC code that I know my TV does not act on.