groupUrl: https://ez.analog.com/wireless-sensor-networks-reference-library/ad6lowpan/
Analog.com Analog Dialogue Wiki English
Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Site
  • User
  • Site
  • Search
  • User
EngineerZone
EngineerZone
  • Log in
  • Site
  • Search
  • Log in
  • Home
  • Blogs ⌵
  • Browse ⌵
    • All Groups
    • All Members
  • Support ⌵
    • 3D ToF Depth Sensing
    • A2B
    • Aerospace and Defense (ADEF)
    • Amplifiers
    • Analog Microcontrollers
    • Analysis Control Evaluation (ACE) Software
    • Audio
    • Clock and Timing
    • Condition-Based Monitoring
    • Data Converters
    • Design Tools and Calculators
    • Direct Digital Synthesis (DDS)
    • Embedded Vision Sensing
    • Energy Monitoring and Metering
    • FPGA Reference Designs
    • Industrial Ethernet
    • Interface and Isolation
    • Low Power RF Transceivers
    • MEMS Inertial Sensors
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Power Management
    • Precision Technology Signal Chains
    • Processors and DSP
    • Reference Circuits
    • RF and Microwave
    • Signal Chain Power (SCP)
    • Switches/Multiplexers
    • Temperature Sensors
    • Video
    • Wide Band RF Transceivers
    • Wireless Sensor Networks Reference Library
  • About EZ
  • More
  • Cancel
  • 主页
  • 浏览 ⌵
    • 收件箱
    • 个人设置
    • 会员
    • 专区列表
  • 论坛专区 ⌵
    • 放大器专区
    • 精密转换器专区
    • 音频专区
    • ADE电能计量专区
    • MEMS和传感器专区
    • 接口和隔离专区
    • Power 中文专区
    • ADUC微处理器专区
    • 锁相环专区
    • 开关和多路复用器专区
    • 温度传感器
    • 基准电压源专区
    • 资源库
    • 论坛使用指南
    • 技术支持参考库
    • 在线研讨会
    • 论坛社群活动
    • 论坛激励活动
  • More
  • Cancel
AD6LoWPAN Reference Library
  • Wireless Sensor Networks Reference Library
AD6LoWPAN Reference Library
Documents How does a 6LoWPAN device register to network?
    AD6LoWPAN Reference Library requires membership for participation - click to join
    • Documents
    • ADF7242 with RaspberryPi
    • ADUCRF101 Software and Application framework; Mesh Network in Sub-GHz
    • ADWSN-UI tool displaying "unknown device" on my centerpoint node
    • ADWSN: AD6LoWPAN Support Community
    • ADXL362
    • ADXL362 sleep time and activity
    • Can I send commands from Border Router to Node in AD6LoWPAN?
    • Can I send data from Node to Border Router in AD6LoWPAN?
    • Can MDuCM3029 + ADF7030-1 be used for AD6LoWPAN ?
    • Concept of "Orbit" in AD6LoWPAN? Why is it introduced?
    • Data Packets from Node WSN
    • Default configuration for AD6LoWPAN devices
    • Device types in AD6LoWPAN EDK?
    • Explain the 3-Node demo procedure and required tools
    • FAQ: AD6LoWPAN 3-Node demonstration - procedure and required tools
    • FAQ: Commands from Border Router to Node in AD6LoWPAN
    • FAQ: How to interpret the sensor data collected on ADWSN tool?
    • FAQ: Is the packet format in AD6LoWPAN same as standard one?
    • FAQ: Node Joining Process in 6LoWPAN - ND, RPL
    • FAQ: Operating Modes & Supported data rates in AD6LoWPAN
    • FAQ: RPL Non-Storing mode in AD6LoWPAN
    • GPIO and Transceiver Interrupts
    • HOW CAN I GET THE TINY WSN SCHEMATICS
    • How different is AD6LoWPAN from Contiki OS based implementation?
    • How does a 6LoWPAN device register to network?
    • how many number of sensors can be displayed in the monitor?
    • How to interpret the different messages received on the UI tool?
    • How to interpret the sensor data collected on ADWSN tool?
    • How to send “User Defined Commands”  from Border Router to Node?
    • How to set sleep mode in ADXL362(MEMS)?
    • I have WSN Bunch version kit, Can this be used for AD6LoWPAN also?
    • IP address allocation for my 6LoWPAN devices in the network?
    • Is AD6LoWPAN implementation standards based solution?
    • Is AD6LoWPAN network autonomous, self-forming & self-healing?
    • Key features & Product details of AD6LoWPAN EDKv1.0
    • Maximum payload in AD6LoWPAN?
    • My WSN nodes are not communicating
    • Node not joining the network after firmware upgrade from PC tool
    • Packet format for 6LoWPAN/AD6LoWPAN?
    • question on multi-channel, and channel hopping
    • Received packets size
    • Significance of port number in communication from Border Router to Node?
    • Supported PHY options in AD6LoWPAN?
    • unable to detect my devices in the pc tool and sometimes displaying as “unknown devices”.
    • unable to flash my Bunch WSN boards
    • What are the different standards followed in AD6LoWPAN?
    • What are the different types of messages used in 6LoWPAN?
    • What do I get with this AD6LoWPAN EDK? Is this for everyone or Is it more apt for protocol experts?
    • What happens when the border router resets?
    • What is the default tx power in AD6LoWPAN EDKv1.0, and how do I change it?
    • What type of routing (source/non-source) is supported in AD6LoWPAN?
    • What type of routing is supported in AD6LoWPAN? Can you explain it briefly?
    • Wireless Sniffer with AD6LoWPAN? Is it offered free of cost along with the EDK?
    • With one USB-SWD/UART-EMUZ, how do I setup 3-node demo?

    How does a 6LoWPAN device register to network?

    Original Question: How does a 6LoWPAN device register to network? by NagarjunaG

    How does a 6LoWPAN device register to network? Can you explain the flow?


    Verified Answer: RE: How does a 6LoWPAN device register to network? by NagarjunaG

    In typical 6LoWPAN networks, the registration is normally referred to as the node joining process.

     

    The complete flow is as outlined below.

    The first step in the network registration is Neighbor Discovery (ND). This helps the node to determine the neighbors in the vicinity and to select the best parent available. The node will first transmit a RS (Router Solicitation) packet as a multicast to all the routers. On receiving the RS packet all the routers respond back with a RA (Router Advertisement) as a unicast to the node.

    The RA packet will contain the following information:

    • Prefix Information (PIO) : The prefix of the IPv6 address
    • Context Option (CO) : The compression technique to be used.
    • Authoritative Border Router Option (ABRO): Border Router address

    refer to IETF RFC 6775: Neighbor Discovery Optimization for IPv6 over Low-Power Wireless Personal Area Networks (6LoWPANs)

     

    Upon receiving the RA, the node selects a router as its default router (based on first received RA) and derives the global IPv6 address based on the prefix option. The node then sends a Neighbor Solicitation (NS) as a unicast message to its default router. The NS will contain the Address Registration Option (ARO). This option will tell the router that the node is directly reachable and also the link layer address of the node.

     

    The router will make an entry of the node in its Neighbor Cache and respond with a Neighbor Advertisement (NA) with the status of address registration. The following are the status of Address Registration that a Router can respond with:

    0 -  Success

    1 -  Duplicate Address

    2 -  Neighbor Cache Full

     

    The Node will send the ARO with a lifetime and will repeat the NUD (Neighbor Unreachability Detection) by sending periodic NS messages to its default router at regular intervals.

     

    On receiving the Neighbor Advertisement (NA), the Neighbor Detection (ND) is complete and the node will have the address of the default router in its Neighbor Cache. Similarly the default router of the Node will have the Node’s address in its neighbor cache.

     

    Upon completion of Neighbor Discovery, RPL is initialized and the network registration process will begin. The Node will now send a DODAG Information Solicitation (DIS) in response to which the router transmits a DODAG Information Object (DIO). The DIO contains the rank, metrics and PIO. The routers will keep broadcasting their DIOs in regular interval following a trickle timer. If a DIO is received from a router with better rank than the default router, the node re-registers itself with the new router (by sending NS). Once the DIO is received the upward path (to reach the border router) is established. In case of the AD6LoWPAN, the rank depends on the orbit of the Router.

     

    The Node will now send a Destination Advertisement Object (DAO) to its default router to be forwarded to the Border Router (BR). The RPL uses Destination Advertisement Object (DAO) messages to establish Downward route to reach the Node.

     

    On receiving the DAO, the border router responds with a DAO ACK. This packet is forwarded to the node from its parent. Subsequent to the node receiving the DAO ACK, it is considered that the network registration is completed.


    Question: RE: How does a 6LoWPAN device register to network? by ezadminThis question has been closed by the EZ team and is assumed answered.

    • Share
    • History
    • More
    • Cancel
    Comments
    Anonymous
    Related
     
    社交网络
    快速链接
    • 关于ADI
    • Partners
    • 模拟对话
    • 职业
    • 联系我们
    • 投资信息
    • 新闻中心
    • 质量和可靠性
    • 办事处与代理商
    • Analog Garage
    语言
    • English
    • 简体中文
    • 日本語
    • Руccкий
    电子快讯

    欲获得最新ADI产品、设计工具、培训与活动的相关新闻与文章,请从我们的在线快讯中选出您感兴趣的产品类别,每月或每季度都会发送至您的收件箱。

    订阅
    Switch to mobile view
    Analog Logo
    © 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
    • ©
    • 1995 - 2022 Analog Devices, Inc. All Rights Reserved
    • 沪ICP备09046653号-1
    • 网站地图
    • 隐私和保密政策
    • 隐私设置
    • 使用条款
     
    Social
    Quick Links
    • About ADI
    • Partners
    • Analog Dialogue
    • Careers
    • Contact us
    • Investor Relations
    • News Room
    • Quality & Reliability
    • Sales & Distribution
    • Analog Garage
    Languages
    • English
    • 简体中文
    • 日本語
    • Руccкий
    Newsletters

    Interested in the latest news and articles about ADI products, design tools, training and events? Choose from one of our 12 newsletters that match your product area of interest, delivered monthly or quarterly to your inbox.

    Sign Up
    Switch to mobile view
    Analog Logo
    © 1995 - 2022 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
    • ©
    • 1995 - 2022 Analog Devices, Inc. All Rights Reserved
    • 沪ICP备09046653号-1
    • Sitemap
    • Privacy & Security
    • Privacy Settings
    • Terms of use
    EngineerZone Uses cookies to ensure you get the best experience in our community. For more information on cookies, please read our Privacy & Security Statement.