Hello @knebb, as @ntd wrote there is no need to use the Evok (which is, basically a bridge between Modbus server and several web-service interfaces). The simplest option for direct access from a C/C++ application should be the sysfs interface. Of course, a Modbus client connected to the internally running Modbus server can be used also.
M
Best posts made by martin_triska
-
RE: Need Some sort of Jumpstart
-
RE: nginx not running
OK, now it is a bit clearer. You probably did not insert TCP port while you have been asked for it during the installation process. Default values within the file are:
upstream evok { server localhost:8080; } server { listen 80 default_server; server_name _; #ssl on; #ssl_certificate /etc/nginx/democert.pem; #ssl_certificate_key /etc/nginx/democert.key; #access_log /var/log/evok.access.log; access_log off; root /var/www/evok; location / { index index.html; } location /favicon.ico { alias /var/www/evok/favicon.ico; } location /ws { proxy_pass http://evok; proxy_set_header Host $host:$server_port; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_buffering off; proxy_cache off; proxy_read_timeout 180; } location /rest { proxy_pass http://evok; proxy_set_header Host $host:$server_port; } location /json { proxy_pass http://evok; proxy_set_header Host $host:$server_port; } location /bulk { proxy_pass http://evok; proxy_set_header Host $host:$server_port; } location /rpc { proxy_pass http://evok; proxy_set_header Host $host:$server_port; } }