Skip to content

Commit

Permalink
Added target EID tlv to Dua response
Browse files Browse the repository at this point in the history
This is a change in specification that was missed
  • Loading branch information
Mika Tervonen committed May 22, 2018
1 parent 2d3aff9 commit 7c6c482
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/6LoWPAN/Thread/thread_extension_bbr.c
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,7 @@ static int thread_extension_bbr_dua_cb(int8_t service_id, uint8_t source_address

ptr = payload;
ptr = thread_tmfcop_tlv_data_write_uint8(ptr, TMFCOP_TLV_STATUS, bbr_status);
ptr = thread_meshcop_tlv_data_write(ptr, TMFCOP_TLV_TARGET_EID, 16, addr_data_ptr);
coap_service_response_send(this->coap_service_id, COAP_REQUEST_OPTIONS_NONE, request_ptr, response_code, COAP_CT_OCTET_STREAM, payload, ptr - payload);
return 0;
}
Expand Down

0 comments on commit 7c6c482

Please sign in to comment.