Using specific hostname variable (#8)

pull/302/head
Chun-Sheng, Li 5 years ago committed by GitHub
parent 03de197095
commit 4a604447b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -87,7 +87,7 @@ int main(int argc, char** argv) {
}
/* write a variable to the server */
value = MmsValue_newVisibleString("libiec61850.com");
value = MmsValue_newVisibleString(hostname);
IedConnection_writeObject(con, &error, "simpleIOGenericIO/GGIO1.NamPlt.vendor", IEC61850_FC_DC, value);
if (error != IED_ERROR_OK)

Loading…
Cancel
Save