The current implementation of the sample app mixes terminology, calling the field which identifies a command a CommandCode whereas the CFE APIs call it a FcnCode.
Since this app is the starting point for many people, it might make sense to use consistent terminology. Since the CFE APIs call it a FcnCode, it seems like the code should too.