Skip to main content

NRC_ModifyControllerIP(std::string name,std::string ip,std::string gateway,std::string dns)

Modify controller IP

Type

int =>Modify controller IP

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

ParameterTypeDescription
namestringNetwork card name
ipstringTarget IP, must conform to the IP naming rules
gatewaystringGateway
dnsstringDNS

Sample code

NRC_ModifyControllerIP("p2p1","192.168.1.13","192.168.1.1","192.168.1.1");