opcuaServer.c 476 B

123456789101112131415161718192021222324
  1. /*
  2. ============================================================================
  3. Name : opcuaServer.c
  4. Author :
  5. Version :
  6. Copyright : Your copyright notice
  7. Description :
  8. ============================================================================
  9. */
  10. #include <stdio.h>
  11. #include <stdlib.h>
  12. #include "UA_stack.h"
  13. int main(void) {
  14. UA_Stack_init(&UA_TransportLayerDescriptorTcpBinary,16664);
  15. while (UA_TRUE) {
  16. sleep(10);
  17. }
  18. return EXIT_SUCCESS;
  19. }