Questions tagged [communication-protocol]

Communication protocol is a system of rules that allow two or more entities of a communications system to transmit digital message formats/rules. Protocols are the standard that defines the syntax, semantics and synchronization of communication and if any error recovery methods.

Communication protocol is a system of rules that allow two or more entities of a communications system to transmit digital message formats/rules. Protocols are the standard that defines the syntax, semantics and synchronization of communication and if any error recovery methods. Protocols may be implemented by hardware, software, or in a combination. They are required in telecom, computers and related systems. Internet/Computer Network are not possible without them.

Some of the properties that they define are : packet size, transmission speed, error correction types, handshaking, synchronization techniques, address mapping, acknowledgement processes, flow control, packet sequence controls, routing, address formatting.

In computer network, Protocols are normally defined in a layered manner and provide all or part of the services specified by a layer of the OSI reference model. Protocols are usually implemented by writing a number of programs which communicate with one another through queues and by function calls. Timers are a integral part of protocols and to start and stop timers, a it normally uses an interface to the computer's operating system.

82 questions
1
vote
1 answer

Communication protocol: human readable vs non-human readable

I am starting to work on an application that consists of multiple components. Some of them reside at the server-side while some will be on the client side. I have most of the stuff figured out but I can't decide if I should use a human readable…
Petre Popescu
  • 1,950
  • 3
  • 24
  • 38
0
votes
3 answers

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

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…
milesmeow
  • 3,688
  • 5
  • 35
  • 58
0
votes
1 answer

Reading data from a flowmeter on a microcontroller

For a personal DIY project, I want to make an app that measure water consumption and send the data to an API. I have the Keyence FD-Q50C clamp on flowmeter that has a screen to display the data. The flowmeter can be connected to the IO Link Master…
0
votes
0 answers

I have problem on configuring a canopen network with EL6751 as master and wago 750-838 as slave using my customized EDS file

I am working on a project with a Canopen network consisting of a Beckhoff CX2030 controller and an EL6751 Canopen master device. The network also includes a Wago 750-838 PLC followed by several input/output modules acting as slaves. To transfer the…
0
votes
1 answer

Readout of Kamstrup flowIQ 2200 water meter with KMP protocol using command GetLogTimePresent

Recently, I got a Kamstrup flowIQ 2200 water meter installed. Since I'm already reading my power meter with an IR head and my gas meter by counting pulses, I'd like to readout my new water meter as well. This KMP (Kamstrup Meter Protocol) request…
mdrmdr
  • 3
  • 4
0
votes
0 answers

Why is ReadFileEx returning no data?

I'm trying to read data from the Windows LLDP driver but each call to the ReadFileEx function is returning zero (0) bytes read. The WaitNSeconds function is defined within a separate dynamic linked library and the "ttime.h" file is the main header…
0
votes
0 answers

Two way communication between Unity and Python

So I want to send and receive from/to Unity and Python in the same run. I have the following components for the communication. TCPSendPipe - Sends data from Unity to Python TCPListePipe - Receives data from Python Python Script - Send (uses…
0
votes
0 answers

Sending images using i2c

I have a question. I would like to know if it is possible to send images from one device to another using I2C communication. Someone can help me, please? I am actually using a camera with a WiFi module to transfer data, but I need to separate the…
0
votes
0 answers

ESP32 to STM32 Communication via USB CDC Mode - USB to USB

I want to communicate ESP32 devkit-C1 with B-L4S5I-IOT01A Discovery Kit via USB CDC where ESP32 will act as USB host and Discovery Kit as USB Device. But when trying to do so , I am getting the below error where the host is not able to detect the…
0
votes
0 answers

The minimum SNR and negative dB

Long-time lurker, first-time poster I'm stuck with that question below: To transmit a data rate of 224Gbps, what is the minimum SNR? (bandwidth = 56GHz) Shannon–Hartley's formula calculates the maximum possible capacity so I was wondering if I would…
0
votes
0 answers

How can microservices communicate with each other?

I want to transition my currently monolithic application to a a microservices model. I'm currently stuck on figuring out the best way for independent microservices to communicate with each other. Each independent microservice could theoretically be…
0
votes
0 answers

timing error communication between two MSP430's

For a project I am connecting two MSP's (MSP430FR6989) with each other, one as a master (of which the code has been given and I cannot change a lot about it, so I cannot use SPI) and one as a slave. The slave one will just act as a memory extension…
DYD35
  • 121
  • 1
  • 7
0
votes
1 answer

AUTOSAR CAN Stack Implementation Hints

My task is to create a software stack for a CAN module using the latest release of AUTOSAR (R19-11). I will not be using any configuration tools. From what I've read on the AUTOSAR website, these are the modules that I have to implement: CAN Driver,…
marcel14
  • 3
  • 2
0
votes
4 answers

Approaches to programming application-level protocols?

I'm doing some simple socket programming in C#. I am attempting to authenticate a user by reading the username and password from the client console, sending the credentials to the server, and returning the authentication status from the server.…
Mantis Toboggan
  • 7,295
  • 3
  • 19
  • 11
0
votes
0 answers

How to open a link clicked in an external application in my, already openend application

So we all know how smooth switching between browsers and apps can be from our androids and iPhones. My question is: Can we archieve anything similiar on windows machines? Scenario: 1. I get a link in a windows application like skype or outlook. 2. I…
Sebbas
  • 399
  • 4
  • 12