gcc gives warning against CWP_ITEM_TIMESTAMP decode check. I believe this is probably a genuine issue... and the correct code is as follows:  Thanks for all your work!