Huabao RS232

Felipe Parente6 days ago

I have a device from "Entrack" that uses the "Huabao" protocol.
I'm connecting a concrete mixer sensor to the RS232 port to detect which direction the truck is turning and its speed.
When the sensor is activated, the device sends this message:

7e0900000d671075428217020140000a415303210420000000dc507e

Analyzing the Huabao protocol, the message body would be: 40000a415303210420000000dc
Decoding this part of the message, everything is correct, according to the sensor manual.
Captura de Tela 2025-07-29 às 11.57.15.png

However, analyzing the "HuabaoProtocolDecoder.java" file, line 1118, only messages that begin with "GTSL" are considered, which is not the case.

Wouldn't it be interesting to save this data in another field, even if in HEXADECIMAL, so that we can perform the processing at another point?
Captura de Tela 2025-07-29 às 11.42.56.png

Anton Tananaev6 days ago

Sure, it would be nice to support this as well.

Felipe Parente6 days ago

What do we need to have this information in a future version?
It could go in a "hexData" field, for example.

Anton Tananaev6 days ago

Someone needs to implement this. Pull requests are always welcome.

Felipe Parente5 days ago

Pull requests sent.