Skip to content

Commit 274abdd

Browse files
address registration and coap port updates (#2009)
address registration on behalf of MTD updated. Default backbone coap port updated.
1 parent f871797 commit 274abdd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

source/6LoWPAN/Thread/thread_extension.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,10 @@ void thread_extension_address_registration(struct protocol_interface_info_entry
535535
uint8_t seq;
536536
uint32_t delay_timer;
537537

538+
if (!thread_extension_version_check(interface->thread_info->version)) {
539+
return;
540+
}
541+
538542
if (!thread_extension_is_domain_prefix(interface, addr)) {
539543
return;
540544
}

source/6LoWPAN/Thread/thread_extension_bbr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static NS_LIST_DEFINE(duplicate_dua_tr_list, duplicate_dua_tr_t, link);
104104
#define THREAD_BBR_MLR_REGISTRATION_TIMEOUT 600 //<* Default MLR timeout in seconds
105105
#define THREAD_BBR_DUA_REGISTRATION_TIMEOUT 3600
106106
#define THREAD_BBR_DUA_REGISTRATION_DELAY 5000 // 5 seconds in ms
107-
#define THREAD_BBR_BACKBONE_PORT 5683 //<* Backbone border router
107+
#define THREAD_BBR_BACKBONE_PORT 61631 //<* Backbone border router
108108
#define THREAD_BBR_DUA_DAD_QUERY_TIMEOUT 1 // wait period for Duplicate Address Detection
109109
#define THREAD_BBR_DUA_DAD_REPEATS 2 // multicast repeated as part of DUA
110110

0 commit comments

Comments
 (0)