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
3
votes
1 answer

Are memory mapped files faster than Named Pipes?

I was reading SQL Server Internals and Troubleshooting (Wrox) and it effectively says that Shared Memory is the default connection method, followed by TCP and then Named Pipes. What's curious though is that they say: "Named Pipes was developed for…
sircodesalot
  • 11,231
  • 8
  • 50
  • 83
2
votes
2 answers

Custom URL Scheme Error : This app is not allowed to query for scheme

I have 2 apps , one client and one server. I am trying interapp communication between ios apps using URL schemes ( I have refered to this…
2
votes
1 answer

What header should be sent by master when there are multiple slaves whose data is getting updated(Event triggered Frames)?

We want to check Rx of data from slaves in case of Lin event triggered frames. According to our understanding, in Lin stack integration for Autosar, we have Tx and Rx of unconditional frames. Here the master sends a header based on PID(protected…
yasmi
  • 21
  • 4
2
votes
2 answers

programs hangs during socket interaction

I have two programs, sendfile.py and recvfile.py that are supposed to interact to send a file across the network. They communicate over TCP sockets. The communication is supposed to go something like this: sender =====filename=====> receiver sender…
lowerkey
  • 8,105
  • 17
  • 68
  • 102
2
votes
1 answer

Implementation of Z-modem protocol in Java

I want to send a file from serial port and I have to use the Z-modem protocol in Java. I saw the protocol and it looks defficult for me and I can't buy a commercial solution. Any Idea how can I get it easyer? Thank you for the help.
Haythem
  • 417
  • 4
  • 13
  • 20
2
votes
2 answers

Transmission of images (image descriptors) over internet

I need to send images or image descriptors from a client (smartphone) to a server (processing machine). The server tries to recognize the images/features in a video stream and sends back the IDs of the detected ones + maybe some additional data.…
Traian
  • 2,915
  • 1
  • 24
  • 32
2
votes
3 answers

CAN (Controller Area Network) on Android

I am trying to connect control multiple device on the network centrally via a tablet/android device and have some issues trying to find the right protocol for secure communication. Is there a api available for coding/utilizing CAN network on android…
sean
  • 717
  • 2
  • 9
  • 23
2
votes
1 answer

Communication between two war files without hardcoding the context root

I have an ear application which has two war files. In the application on clicking a hyper link the flow goes from one war file to another war file. In this case I'm hard-coding the URL for the spring war. Is there any way I can define it as an…
Sundar G
  • 1,069
  • 1
  • 11
  • 29
1
vote
0 answers

Jetson AGX Orin: tty device usable only once before failing

I am using a barcode scanner as part of a project, everything works correctly until I exit the program then I can't communicate anymore with the barcode scanner. This holds true for whatever program I'm running, be it one of my own or just using…
1
vote
1 answer

EtherCAT vs. ADS(Automation Device Specification)

What is the main difference between ADS and EtherCAT and where is their exact position on the OSI model?
asys
  • 667
  • 5
  • 20
1
vote
1 answer

how to connect two raspberry pi using OPCUA?

I have two Raspberry Pi and i want to connect these two via OPC UA making one of them as Server and other as Client. Do you have any Idea or clues or you knows any Websites which helps me to understand the basic ? your prompt reply would be…
1
vote
0 answers

How to use Python to communicate with an device connect to a different computer

I have an instrument setup composed of a command-and-control computer, connected in a network with other computers which have a specific device attached to it (by device I mean something like, for instance, a laser). The communication to these…
1
vote
1 answer

How could I query my windows application from a website

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…
balexandre
  • 73,608
  • 45
  • 233
  • 342
1
vote
1 answer

Finding the Encryption or Hashing method used

I am trying to find out what algorithm the client application is using to return the session key. When I initiate a connection, the server first sends a unique session key. The Client has then to respond with an encrypted or hashed password and send…
user797717
  • 758
  • 1
  • 6
  • 18
1
vote
0 answers

STM32 acting as both Master and Slave

I am doing a project that has the following components: STM32F303 Microcontroller RF Transceiver Module SPI Line Driver (connected to another primary microcontroller that will be sending/receiving data to the STM32) The STM32F303 Microcontroller…