Skip to content

Commit 9b5e1c9

Browse files
added payload length for Max child timeout tlv (ARMmbed#1856)
1 parent 3c1864b commit 9b5e1c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/6LoWPAN/Thread/thread_diagnostic.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ static int thread_diagnostic_configuration_calc(protocol_interface_info_entry_t
229229
payload_len += 2+1;
230230
break;
231231

232+
case DIAGCOP_TLV_MAX_CHILD_TIMEOUT:
233+
payload_len += 2 + 4;
234+
break;
235+
232236
default:
233237
// todo: Other TLV's not supported atm
234238
break;

0 commit comments

Comments
 (0)