defining framePayloadToFrameTypeId to encode unknown frame.