Analog.com Analog Dialogue Wiki 简体中文
EngineerZone
EngineerZone
  • Log In
  • Site
  • Search
  • User
  • Support

    Popular Forums

    • RF and Microwave
    • Power Management
    • Video
    • FPGA Reference Designs
    • Precision ADCs
    • Linux Software Drivers
    • SigmaDSP Processors & SigmaStudio Dev. Tool

    Product Forums

    • A2B
    • Amplifiers
    • Analog Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing
    • Optical Sensing
    • Precision Technology Signal Chains
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Recent Discussions

    • Pluto + GNURADIO frequency change
    • Pluto SDR
    • pluto sdr pyadi-iio continous iq recording
    • attribute error
    • gps-sdr-sim is not working with my ADALM-PLUTO

    Places

    • ADI Education Home
    • ADI Education China
    • ADI Education India
    • ADI Education Philippines
    • StudentZone (Analog Dialogue)
    • Virtual Classroom

    Latest Webinars

    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    • Webinar Improving Switch-Mode Power Supplies Using Noise Cancelling Technology
    • Webinar Accelerate Your Design With a 2 to 24 GHz Wideband Transceiver Reference Design
    • How to Design an Optimized Motion Control System for Intelligent Edge Based Surveillance Camera
    • How to Enhance High Precision Current Sensing Systems
    View All
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes: Buffers and Fan Out
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

    • EZ Code of Conduct
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

     

    How To Design Fieldbus Agnostic Smart Factory Sensors

     

    You Passed EMC Testing… But Wait, Is There More?

    Latest Blogs

    • The 5 Things You Need to Know about RF Matching Networks
    • Does Reliability Prediction Uncertainty Justify Mandating Two Channel Safety?
    • An Inside Look at 2022
    • Meet the Person Behind the Quizzes
    • Updates Required: Why Newer is Better
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • Partners

    Electronic Design Services - PartnerZone

    • Boston Engineering
    • Calian, Advanced Technologies
    • Colorado Engineering Inc. (DBA CAES AT&E)
    • Clockworks Signal Processing
    • Epiq Solutions
    • Fidus
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.
    • VadaTech
    • Vanteon
    • X-Microwave
    View All
AD6LoWPAN Reference Library
  • Wireless Sensor Networks Reference Library
AD6LoWPAN Reference Library
Documents How does a 6LoWPAN device register to network?
  • Members
  • Tags
  • More
  • Cancel
  • 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
Related
Recommended
 
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 - 2023 Analog Devices, Inc. All Rights Reserved 沪ICP备09046653号-1
  • ©
  • 1995 - 2023 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.