Skip to content

A package that simulates communication between serial data to the table, written in C++. The idea is to use hex data that is transferred by a fixed data length, so we need a segmentation and check-sum to validate on data

Notifications You must be signed in to change notification settings

hifzhil/data_mapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    row index   val1 val2                                sum    
    01  00      006400C8012C019001F4025802BC0320038403E8 2E  TPS
    01  01 012C 000100020003000500060004000700080009000A 32
    01  02 0258 000B000C000D000F0010000E0011001200130014 32
    01  03 0384 0015001600170019001A0018001B001C001D001E 32
    01  04 04B0 001F002000210023002400220025002600270028 32
    01  05 05DC 0029002A002B002D002E002C002F003000310032 32
    01  06 0708 0033003400350037003800360039003A003B003C 32
    01  07 0834 003D003E003F0041004200400043004400450046 32
    01  08 0960 004700480049004B004C004A004D004E004F0050 32


    bins    row   val1  val2     code
    0       0100        0064...  2E    
    1       ..    012C  0001...  32  
    2       .     ..             ..
    3             .              .
    ..
    .
    8
    bit     4     4     4        2

bin calculation formula

[0,445]=[0,45]∪[46,95]∪[96,145]∪[146,195]∪[196,245]∪[246,295]
        ∪[296,345]∪[346,395]∪[396,445]

range=bin1∪bin2∪....∪binn=9

#unstable branch FFFA 0000 012C 0258 0384 04B0 05DC 0708 0834 0960 0A8C FFFB 0000000A0014001E00280032003C00460050005A FFFC 0000000100020003000400050006000700080009000A000B000C000D000E000F0010001100120013001400150016001700180019001A001B001C001D001E001F0020002100220023002400250026002700280029002A002B002C002D002E002F0030003100320033003400350036003700380039003A003B003C003D003E003F0040004100420043004400450046004700480049004A004B004C004D004E004F0050005100520053005400550056005700580059005A005B005C005D005E005F0060006100620063

About

A package that simulates communication between serial data to the table, written in C++. The idea is to use hex data that is transferred by a fixed data length, so we need a segmentation and check-sum to validate on data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published