简体   繁体   English

如何强制coap服务器节点连接特定的边界路由器?

[英]How can I force a coap server node to connect an specific border router?

force nodes to connect to specific border router in a mesh network 强制节点连接到网状网络中的特定边界路由器

Here is my setup; 这是我的设置; 6 nodes, n1, n2, n3, n4, n5, n6 all running https://github.com/contiki-os/contiki/blob/master/examples/er-rest-example/er-example-server.c Coap server 2 border router, b1, b2 running https://github.com/contiki-os/contiki/tree/master/examples/ipv6/rpl-border-router connected to two Linux board (like Raspberry Pi) L1, L2. 6个节点,n1,n2,n3,n4,n5,n6全部运行https://github.com/contiki-os/contiki/blob/master/examples/er-rest-example/er-example-server.c Coap服务器2边界路由器,b1,b2运行https://github.com/contiki-os/contiki/tree/master/examples/ipv6/rpl-border-router连接到两个Linux板(如Raspberry Pi)L1,L2。

How can I make sure that n1, n2, n3 node only connect to border router b1 and not b2, similarily, n4, n5, n6 nodes only connect to border router b2 and not b1? 如何确保n1,n2,n3节点只连接到边界路由器b1而不是b2,类似地,n4,n5,n6节点只连接到边界路由器b2而不是b1? Thanks! 谢谢!

Need to change panid; 需要改变恐慌;

use for boarder-router b1, n1, n2, n3 panid 0xabcd 用于边界路由器b1,n1,n2,n3 panid 0xabcd

use for boarder-router b2, n4, n5, n6 panid 0xabce 用于边界路由器b2,n4,n5,n6 panid 0xabce

*Thanks to Harald Pichler (Contiki mailing list) for this answer *感谢Harald Pichler(Contiki邮件列表)给出了这个答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM