can-bus-w211
can-bus-w211 copied to clipboard
DAS/Xentry file format
Hi, in W211-CANBUS-ALL-PIDS-AND-DETAILS.txt is written that you got that info from files in DAS/Xentry, how did you decode those files?
Just open those files with any hex editor that can show you ASCII values of bytes and you will see a pattern. All information is stored in raw binary structure, you can find pid numbers, offsets, length, measurements and calculation between strings. I wrote a software to decrypt those files but I can't really find it now.
Yeah, I opened the files with an hex editor and found the following structures (using your file as reference):
struct { uint8_t name_len; char *name; // name_len chars uint8_t dummy1; uint8_t id_lsb; uint8_t id_msb; uint32_t dummy2; uint8_t num_signals; // number of signals contained in the frame } FRAME;
struct { uint8_t name_len; char *name; // name_len chars uint8_t offset; // starting bit position of the signal in the frame uint8_t len; // length of the signal in bits }
However there are lots of gaps with non zero bytes
I believe there's also an information of how to calculate the actual value (for example, it can say that value should be multiplied by 0.25, but it didnt really looked in it) and measurement abbreviations like km, s, m/s, V, etc.
Добрый день! Подскажи пожалуйста, в каких папках Das/Xentry находятся файлы, с которых можно получить пиды ? Hello! Please tell me which Das / Xentry folders are the files from which can get a pids?
I believe there's also an information of how to calculate the actual value (for example, it can say that value should be multiplied by 0.25, but it didnt really looked in it) and measurement abbreviations like km, s, m/s, V, etc.
appreciate decoding this important information, too! give you some example:
SAM_V_A2:
(T_AUSSEN_B - 80) / 2 = °C
02 01 00 00 00 00 00 00 00 3F 00 00 20 C2
P_KAELTE / 10 = bar
02 01 00 00 00 00 CD CC CC 3D 00 00 00 00
(T_KAELTE - 100) / 10 = °C
02 01 00 00 00 00 CD CC CC 3D 00 00 20 C1
I_KOMP * 10 = mA
02 01 00 00 00 00 00 00 20 41 00 00 00 00