cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
134403
Visitor
Visitor
8,168 Views
Registered: ‎02-11-2015

Library for websocket

Hi,

does anyone have a reliable websocket library to recommend? I want to use the Zynq module (TE0720) as a server to send out some temperature parameters into a client which will be a seperate computer.

 

Thanks

0 Kudos
4 Replies
nymitr
Visitor
Visitor
8,078 Views
Registered: ‎06-17-2014

Trenz electronic has example: 

Source code: http://www.trenz-electronic.de/fileadmin/docs/Trenz_Electronic/TE0720-GigaZee/Test_Designs/xadc_demo.tar.gz

In my projects i use zabbix. Agent on the zynq and server on my PC. I can monitore and store temperature and voltages from XADC, temperature from 1-wire temperature sensors, CPU-, network-, memory-utilization, etc.

0 Kudos
nymitr
Visitor
Visitor
8,074 Views
Registered: ‎06-17-2014

zabbix1.png

0 Kudos
rfs613
Scholar
Scholar
8,063 Views
Registered: ‎05-28-2013

That trenz demo project appears to be based on the cwebsocket library:
https://github.com/m8rge/cwebsocket

Another similar one to consider is libwebsockets:
https://libwebsockets.org/trac/libwebsockets

Naturally there are also many more "heavyweight" solutions which you could use, including frameworks written in C++, Python, PHP, and node.js (and other languages).
0 Kudos
akash.o
Visitor
Visitor
3,112 Views
Registered: ‎05-13-2016

Hi,

      I'm working with webserver implementation on ZED board using RAW API. Is there any support for websocket

from xilinx?

  Suggest a way for data communication between persistent connection and websocket.

or if xilinx supports any new version of HTTP.

0 Kudos