diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-29 09:56:56 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-04-29 09:56:56 +0200 |
commit | 2d9374719c071709c5049c91df90699d5a7215a6 (patch) | |
tree | a7a459f6ae469084c57ec3f2bf2ddcda8ec536d5 /uecpparse/uecp_parse.py | |
parent | ab689f20d9fe8ce503f633ce98d94462229153cd (diff) | |
download | mmbtools-aux-2d9374719c071709c5049c91df90699d5a7215a6.tar.gz mmbtools-aux-2d9374719c071709c5049c91df90699d5a7215a6.tar.bz2 mmbtools-aux-2d9374719c071709c5049c91df90699d5a7215a6.zip |
uecp_parse: Fix max RT length
Diffstat (limited to 'uecpparse/uecp_parse.py')
-rwxr-xr-x | uecpparse/uecp_parse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uecpparse/uecp_parse.py b/uecpparse/uecp_parse.py index ce0fba9..d586252 100755 --- a/uecpparse/uecp_parse.py +++ b/uecpparse/uecp_parse.py @@ -89,7 +89,7 @@ class UECP_Message_Decoder(): dsn = message_bytes[1] psn = message_bytes[2] mel = message_bytes[3] - med = message_bytes[4:-1] + med = message_bytes[4:] buffer_config = (med[0] & 0b01100000) >> 5 number_of_tx = (med[0] & 0b00011110) >> 1 toggle_a_b_flag = (med[0] & 0b00000001) |