In some vehicle, Increasing Data need to be limited for some car equitment.
To send the Increasing Data 0~0Fh, the higher bit need to be ANDed with 0x0F.
To send the Increasing Data F0h~FFh, the higher bit need to be ORed with 0xF0.

Example:
Down Button Message is
Dur: 0 Len: 4 sID:50 dID:68 Data:3B 08
Up Button Message is
Dur: 0 Len: 4 sID:50 dID:68 Data:3B 28
Increasing Data Index is 1
Increment is 1
Mask Type is “AND”
Mask is “0F FF FF FF | FF FF FF FF ”

When the button is pressed and released, the messages are sent to the radio though BSGd like below.

Len: 4 sID:50 dID:68 Data:09 28
Len: 4 sID:50 dID:68 Data:0A 08
Len: 4 sID:50 dID:68 Data:0B 28
Len: 4 sID:50 dID:68 Data:0C 08
Len: 4 sID:50 dID:68 Data:0D 28
Len: 4 sID:50 dID:68 Data:0E 08
Len: 4 sID:50 dID:68 Data:0F 28
Len: 4 sID:50 dID:68 Data:00 08
Len: 4 sID:50 dID:68 Data:01 28
Len: 4 sID:50 dID:68 Data:02 08
Len: 4 sID:50 dID:68 Data:03 28
Len: 4 sID:50 dID:68 Data:04 08
….

Share with: