M
M
marrs2018-11-28 11:40:33
Computer networks
marrs, 2018-11-28 11:40:33

How to read UDP message from scale?

Hey! There is no knowledge of network programming, but you need to deal with the task in a short time.
Essence
There are scales that, after weighing, send UDP to the network, in wireshark it looks like this:
5bfe533e84e60970422530.jpegTask
We need to read this message on the PC. Ideally, take it to a PC, decrypt it and send it as JSON to a specific http address.
I would be grateful for any solution: be it a description of the algorithm, code in some language, etc.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
Wexter, 2018-11-28
@Wexter

1) go to the scale manufacturer and ask for a description of the data
2) go to any freelance site and look for someone who will write you a program

V
Vladimir Proskurin, 2018-11-28
@Vlad_IT

If there are no docks, then it is possible empirically. Weigh different weights many times and compare how the value changes. And whether the value changes with different weighing of one weight (whether there are random values ​​\u200b\u200band there - time). So you can roughly understand which byte is responsible for the weight.

C
CityCat4, 2018-11-28
@CityCat4

Throw off the simplest program, from the demon and the client? The daemon hangs on port 3100 and sends the current time as a string in response to any request on the port. Program for UNIX
By the way, you will definitely need to decrypt the data description

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question