Home > other >  I want to ask
I want to ask

Time:10-20

I want to have a design, it is a liquid level monitoring, need is a computer software, then I want people to help me write a software, he needs to and my butt, ask me what is my data protocol format, it seems I don't understand, how big can you explain it to me, it is best to give a example

CodePudding user response:

Is both sides talks things over once a message is composed of what data, give you an example, :
* | 1 | | 1 | 1 |... | 2 | 1 |
* (0 xfe) | in baotou baotou (0 xfe) | CMD | DATALEN | DATA | CRC16 | (0 XBB)
* CRC check range: from the packet header to the end of the DATA segment

CodePudding user response:

reference 1/f, zero response:
is both sides talks things over once a message is composed of what data, give you an example, :
* | 1 | | 1 | 1 |... | 2 | 1 |
* (0 xfe) | in baotou baotou (0 xfe) | CMD | DATALEN | DATA | CRC16 | (0 XBB)
* CRC check range: from the packet header DATA segment end

+ + is the most simple: a start bit data parity + stop bit

CodePudding user response:

If only a quantity of data, such as liquid level height, can save command (or function), if the amount of data the same, can save data length, redundancy should consider when protocol design, such as adding new functionality in the future do not need to change the transmission frame structure,

CodePudding user response:

references a tree may reply: 3/f
if only a quantity of data, such as liquid level height, can save command (or function), if the amount of data the same, can save data length, redundancy should consider when protocol design, such as adding new functionality in the future do not need to change the transmission frame structure,

Right to really don't need too complicated so use: start bit + data + check digit, stop bits, a simpler format for it

CodePudding user response:

references to champions league glory, 4/f response:
Quote: refer to the third floor of a tree may reply:
if only a quantity of data, such as liquid level height, can save command (or function), if the amount of data the same, can save data length, redundancy should consider when the protocol design, such as adding new functionality in the future do not need to change the transmission frame structure,

Right to really don't need too complicated so use: start bit + data + check digit, stop bits, a simpler format for it

The original poster can write first according to the simple structure, hereafter have need to modify,

CodePudding user response:

references to champions league glory, 4/f response:
Quote: refer to the third floor of a tree may reply:
if only a quantity of data, such as liquid level height, can save command (or function), if the amount of data the same, can save data length, redundancy should consider when the protocol design, such as adding new functionality in the future do not need to change the transmission frame structure,

Right to really don't need too complicated so use: start bit + data + check digit, stop bits, a simpler format for it

Amount of data transmitted unchanged, and stop bits can save,

CodePudding user response:

refer to champions league glory of the building Lord reply:
I want to have a design, is a liquid level monitor, need is a computer software, then I want people to help me write a software, he needs to and my butt, ask me what is my data protocol format, it seems I don't understand, how big can you explain it to me, it is best to give a example

Please post the original poster, the

CodePudding user response:

Emmm phone how "
  • Related