Hello,
FM5300 does not have exact functionality to "Factory reset". However, you can send SMS command "resetallprof". It will reset all values from all profiles.
resetallprof
Resets all FLASH profiles to default profile.
Answer Example: All Profiles Reseted.
You can find all available information and commands in device manual.
Best regards