Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
osie
Commits
2f022f17
Commit
2f022f17
authored
Apr 17, 2024
by
Ivan Tyagov
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup.
parent
68ed4056
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
coupler/server.c
coupler/server.c
+0
-28
No files found.
coupler/server.c
View file @
2f022f17
...
...
@@ -132,34 +132,6 @@ int main(int argc, char **argv)
UA_ServerConfig_setMinimal
(
UA_Server_getConfig
(
server
),
OPC_UA_PORT
,
NULL
);
}
UA_ServerConfig
*
config
=
UA_Server_getConfig
(
server
);
/* Disable binding to all specified interface until this feature(open62541 commit:16467fb5a9d2f9458e55071a2ec07bc68e1b960e)
* lands to a stable release.
// opc_ua server is listening to user input address else on all interfaces
// user input ip address should be added to any of the interface else no server socket will be created
if(OPC_UA_ADDRESS!= NULL){
// check whether the default url is already set
if(config->serverUrlsSize > 0) {
UA_LOG_WARNING(&config->logger, UA_LOGCATEGORY_USERLAND, "ServerUrls already set. Overriding.");
UA_Array_delete(config->serverUrls, config->serverUrlsSize, &UA_TYPES[UA_TYPES_STRING]);
config->serverUrls = NULL;
config->serverUrlsSize = 0;
}
// construct opc_ua server url based on input ip address
UA_snprintf(serverUrlBuffer[0], sizeof(serverUrlBuffer[0]), "opc.tcp://%s:%u", OPC_UA_ADDRESS, OPC_UA_PORT);
serverUrls[serverUrlsSize] = UA_STRING(serverUrlBuffer[0]);
serverUrlsSize++;
// add the url into the config
UA_StatusCode ret_val = UA_Array_copy(serverUrls, serverUrlsSize, (void**)&config->serverUrls, &UA_TYPES[UA_TYPES_STRING]);
if(ret_val != UA_STATUSCODE_GOOD){
return ret_val;
}
config->serverUrlsSize = serverUrlsSize;
}
*/
config
->
verifyRequestTimestamp
=
UA_RULEHANDLING_ACCEPT
;
// add variables representing physical relays / inputs, etc
...
...
Ivan Tyagov
@Tyagov
mentioned in commit
50b0bde4
·
Feb 03, 2025
mentioned in commit
50b0bde4
mentioned in commit 50b0bde45dd963e17ecc7c7a1f3858f566fff7a1
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment