TCP connection - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10) +--- Thread: TCP connection (/showthread.php?tid=304) |
TCP connection - buuuudzik - 18.05.2016 Hello, I must connect with a device which is a gateway for CAN-based system via TCP which sends and receive frames with RAW data. Do you know how can I create such mechanism? Frame size is from 29 to 37 bytes and this is start-bit: "0F" and this is stop-bit: "04". I've tried based on available other integration manuals and all did is that I can send to the bus command and it works: Code: require('socket') But this is easier than receiving data and checking from which point the frame starts |