Skip to content

Commit

Permalink
added payload length for Max child timeout tlv (ARMmbed#1856)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakvenugopal authored Oct 9, 2018
1 parent 3c1864b commit 9b5e1c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/6LoWPAN/Thread/thread_diagnostic.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ static int thread_diagnostic_configuration_calc(protocol_interface_info_entry_t
payload_len += 2+1;
break;

case DIAGCOP_TLV_MAX_CHILD_TIMEOUT:
payload_len += 2 + 4;
break;

default:
// todo: Other TLV's not supported atm
break;
Expand Down

0 comments on commit 9b5e1c9

Please sign in to comment.