projects
/
hmcfgusb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e34d2c
)
hmsniff: fix length-byte from HM-MOD-UART
author
Michael Gernoth
<michael@gernoth.net>
Fri, 3 Jun 2016 18:22:53 +0000
(20:22 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Fri, 3 Jun 2016 18:22:53 +0000
(20:22 +0200)
hmsniff.c
patch
|
blob
|
blame
|
history
diff --git
a/hmsniff.c
b/hmsniff.c
index 638ae1d4e96847e7c7ac178a5a95496abd3be78f..c35b29dd0ef0cc8458d31fff023626aceeeb0c77 100644
(file)
--- a/
hmsniff.c
+++ b/
hmsniff.c
@@
-231,6
+231,7
@@
static int parse_hmuartlgw(enum hmuartlgw_dst dst, uint8_t *buf, int buf_len, vo
switch(buf[0]) {
case HMUARTLGW_APP_RECV:
+ buf[3] = buf_len - 4;
dissect_hm(buf + 3, buf_len - 3);
case HMUARTLGW_APP_ACK:
break;
Impressum
,
Datenschutz