communication-protocol

<Corrected> IO-Link master sending only two M-sequence octet

纵饮孤独 提交于 2020-01-25 06:50:10
问题 I use TIOL111 IO-Link device transceiver. I have written the initial part of a communication protocol with M-sequence type 0, but Master several times send sonly two request (with address 0x02 and 0x03). All responses are correct. When I connect Balluff I/O Module (BNI IOL-...) master sends messages with addresses in turn 0x02 0x03 0x04 0x05 0x06 ..., but when I connect my device up to same port, it is sending only the first two. I use TIOL111 IO-Link device transceiver. Does somebody know

IO-Link master sending only two M-sequence octet [closed]

核能气质少年 提交于 2020-01-16 11:59:12
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed yesterday . I have write initial part of comunnication protocol with M-sequence type 0, but Master several times send only two request (with address 0x02 and 0x03). All responses are correct. When I connect Balluff I/O Module (BNI IOL-...) master sends messages with addresses in turn 0x02 0x03 0x04 0x05 0x06 ..., but when I

How could I query my windows application from a website

≯℡__Kan透↙ 提交于 2020-01-03 00:59:07
问题 I'm trying to figure something out regarding how I can create communication between 2 machines using the internet as the communication line. Idea I would like to have a windows service/application that know how to talk to a web site for the first place (that's easy) but since that time, the web site should query that machine and ask information . Scenario Let's imagine that I install this application on my machine, I set up where and how I have my local database and now I want to be able to

What are some methods that Flash apps can communicate with each other?

十年热恋 提交于 2019-12-25 06:56:11
问题 I'm developing an interactive system where two client flash apps will talk to a third server app. The clients will be sending some status information to the server. I think I need two way communication...haven't decided whether the server needs to send back any acknowledgements yet. These will be applications and not .swfs that run in a browser. So far the only method that I see are to make the server an AIR app (b/c AIR has a Server Socket class) and make the clients Flash projectors (b/c

byte aligning in serial communication

时光总嘲笑我的痴心妄想 提交于 2019-12-12 09:08:07
问题 So I am trying to define a communication protocol for serial communication, I want to be able to send 4 byte numbers to the device, but I'm unsure how to make sure that the device starts to pick it up on the right byte. For instance if I want to send 0x1234abcd 0xabcd3f56 ... how do I makes sure that the device doesn't start reading at the wrong spot and get the first word as: 0xabcdabcd Is there a clever way of doing this? I thought of using a marker for the start of a message, but what if I

byte aligning in serial communication

…衆ロ難τιáo~ 提交于 2019-12-04 18:02:38
So I am trying to define a communication protocol for serial communication, I want to be able to send 4 byte numbers to the device, but I'm unsure how to make sure that the device starts to pick it up on the right byte. For instance if I want to send 0x1234abcd 0xabcd3f56 ... how do I makes sure that the device doesn't start reading at the wrong spot and get the first word as: 0xabcdabcd Is there a clever way of doing this? I thought of using a marker for the start of a message, but what if I want to send the number I choose as data? Why not send a start-of-message byte followed by a length-of

Protocols used to talk between an embedded CPU and a PC

我的未来我决定 提交于 2019-12-03 04:24:46
问题 I am building a small device with its own CPU (AVR Mega8) that is supposed to connect to a PC. Assuming that the physical connection and passing of bytes has been accomplished, what would be the best protocol to use on top of those bytes? The computer needs to be able to set certain voltages on the device, and read back certain other voltages. At the moment, I am thinking a completely host-driven synchronous protocol: computer send requests, the embedded CPU answers. Any other ideas? 回答1:

Difference between HTTPS and SSL

◇◆丶佛笑我妖孽 提交于 2019-12-03 00:36:57
问题 What is the difference between HTTPS and SSL? I read about them and found following: HTTPS : HTTPS is a combination of HTTP with SSL/TLS. It means that HTTPS is basically HTTP connection which is delivering the data secured using SSL/TLS. SSL : SSL is a secure protocol that works on the top of HTTP to provide security. That means SSL encrypted data will be routed using protocols like HTTP for communication. I am wondering where is the difference between these two? Or both are identical? 回答1:

Difference between HTTPS and SSL

一世执手 提交于 2019-12-02 14:11:57
What is the difference between HTTPS and SSL? I read about them and found following: HTTPS : HTTPS is a combination of HTTP with SSL/TLS. It means that HTTPS is basically HTTP connection which is delivering the data secured using SSL/TLS. SSL : SSL is a secure protocol that works on the top of HTTP to provide security. That means SSL encrypted data will be routed using protocols like HTTP for communication. I am wondering where is the difference between these two? Or both are identical? The explanation of SSL that you've found is wrong. SSL (Secure Socket Layer) or TLS (Transport Layer

Real-world cross-platform decentralized asynchronous peer-to-peer communication

 ̄綄美尐妖づ 提交于 2019-11-30 20:29:22
My knowledge about network programming is limited, so, all the comments are more than welcome. Essentially my question boils down to the following question: Q1. Is there really such a thing as decentralized asynchronous cross-platform peer-to-peer communication ? Let me explain myself. If we have two http servers running on computers with actual IP addresses, then clearly the answer is yes, assuming one writes a protocol for the interaction. To go one step further, if one of them (or both) is (are) behind a router, then, with port forwarding the communication can still be established. However,