Skip to main content

NRC_RestoreFactorySettings()

Restore factory settings

After restoring the factory settings, all data in the controller will be cleared, please operate with caution

After calling this function, the controller will restart immediately

Type

int =>Restore factory settings

Return valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

None

Sample code

NRC_RestoreFactorySettings();