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 value | Description |
---|---|
0 | The function is called successfully |
-101 | Invalid input parameter |
-102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value |
-103 | The target object is currently in an inoperable state |
Parameter Option
None
Sample code
NRC_RestoreFactorySettings();