Post
Follow
LON Scanner data analysis and LON source code
Hello,
We found the data from LON scanner with our existing product.
The captured row data is as follows.
0x00 39 01 8C 01 8B F2 80 02 01 0A 00 00 01 00 07 00 08 00 1F FF 1F 0A
1) The first 9 bytes: 0x00 39 01 8C 01 8B F2 80 02 is header
2) the next 12 bytes: 01 0A 00 00 01 00 07 00 08 00 1F FF is our user data.
3) last 2 bytes: 1F 0A is CRC.
My question is related with the first 9 bytes header data.
We don't know this header data and let me know how to define this header data on source code.
I don't know exactly whether this definition of the first 9 byte header is related with the following structure definition, or not.
typedef struct {
Bits NV_selector_hi :6;
Bits direction :1; /* 1 => output NV, 0 => input NV */
Bits must_be_one :1; /* Must be set to 1 for NV */
Bits NV_selector_lo :8;
Byte data[MAX_NETVAR_DATA]; /* Network variable data */
} UnprocessedNV;
Best regards, SuCheol
Please sign in to leave a comment.