How receive HEX data by FCM?

No, that’s not true: the FCM stream just receives bytes - it neither knows nor cares anything of the content, meaning, or interpretation of those bytes.

It is entirely up to your application how the bytes are interpreted.