| |
|
|
 Erasmus.Herold | Hallöchen ...
The following Szenario: i want a ans networking associated RFID-aerial with xProfan address. the goes via Websocket-grabbed. manually in the Browser can I with the corresponding Plugin testing and it functions.
For this use I these both command:
1. for the Verbindungsaufbau
ws://192.168.1.1:8080/ws?token=6ba28d84-a85a-4624-96d2-d6c08d8a6ffd
2. for the Lesezugriff
then sustain I properly gelesene EPCs.
let itself so one Websocket-grabbed with JSON commands in XProfan release? thanks for eure ideas and Rückmeldungen.
Greeting - Erasmus |
|
|
| |
|
|
|
 | Hi!
XProfan has there of House from yet nothing in the Trickkiste, is TCP/IP-"Kram".
first a TCP/IP link with HTTP-log on 192.168.1.1:8080/ws arrival and then one Verbindungsupgrade manage aufs Websocket- log by Handshake. Sicherheitsschlüssel for Handshake lying in the Header-Response the HTTP-Call because The Websocketbytes are verschlüsselt/ maskiert.
it walk means 2 Server: a the http Server and b the Websocket-Server (the against on one others Port lauscht (vmtl. 888 or so)).
therefore Perhaps simply such link by JS (ggf. in a HTMLWin) arrival with only of/ one function: new WebSocket('ws://' ...
I use such Websockets z.B. for JavaScript-Clients (Games) joined with a PHP-Server vereinfacht in this manner:
circa JS-code directly of Webserver from injizieren to quasi as code-Stream.
or instead of by htmlWin and JS whom Websocket-Server by PHP contact, vlt. even by XProfan/PHP-"Symbiose" [...]  |
|
|
| |
|
|