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 Library
    • Motor Control Hardware Platforms
    • Optical Sensing
    • Precision Technology Signal Chains Library
    • 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

    Highlighted Webinar

    Audio Design Solutions for Augmented and Virtual Reality (AR/VR) Glasses

    Recent Discussions

    • Standalone Data logging using ADALM2000
    • About sdr.tx(). Can I change the transmitter frequency after call this function?
    • About the values of CurV1,2 displayed in the cursors frame of scopy.
    • Purpose of "Load" in Scopy signal generator configuration GUI
    • about the transient response experiment example of RL Circuit using adalm2000

    Places

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

    Latest Webinars

    • Audio Design Solutions for Augmented and Virtual Reality (AR/VR) Glasses
    • Robust Industrial Motor Encoder Signal Chain Solutions
    • Precision Low Power Measurement Solutions for Intelligent Edge
    • Advantages of Integrating Digital Power System Management (DPSM) into your Design
    • Optimizing GaN and GaAs RF Amplifier Performance Using Novel Biasing Techniques
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ231 about Birthdays and Cake Candles
    View All

    Places

    • Community Help
    • Logic Lounge

    Resources

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

    Highlighted Blogs

    Understanding Public Key Infrastructures

     

    Share Your Insights! How Can We Improve Your Engineering Design Needs?

    Latest Blogs

    • 10BASE-T1L Makes Powering Intelligent Field Instruments Painless
    • Using Python To Control The Pluto Radio And Plot Data
    • Resistance is NOT Futile
    • What is The Continuity of Engineering?
    • Move Over Sensors: Actuators Are Entering The Smart Factory Stage
    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 Library
  • Wireless Sensor Networks Library
AD6LoWPAN Library
Documents How to send “User Defined Commands”  from Border Router to Node?
  • 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 to send “User Defined Commands”  from Border Router to Node?

Original Question: How to send “User Defined Commands”  from Border Router to Node? by NagarjunaG

Can I make my own “User Defined Commands”  to send from Border Router to the Node.

I prefer to do this without any code modifications. Is this possible?


Verified Answer: RE: How to send “User Defined Commands”  from Border Router to Node? by NagarjunaG

The Config/Commands tab under monitor and control section can be used to send user defined commands.


 

The ADWSN-UI-Tool  is equipped to add your own commands without modifying the code. All you need to do is open an XML schema as outlined below and add/modify the command and start using it.

 

The list of commands and the default command arguments are populated from OTA_CMDS_6LP.xml which is available in the tool installation directory as shown below:

<Installed Directory>\AD6LoWPAN01\ADWSN-UI-Tool\config

 

A sample command structure in the XML file is as shown below. It is straightforward to add user defined commands by observing the syntax carefully.

 

<CMD>

  <Descrp>Turn ON Red LED (EV-ADRN-WSN-1Z BUNCH)</Descrp>

  <port>1034</port>

  <CMDPARMS>

  <ParamType>BYTE</ParamType>

  <ParamValue>01</ParamValue>  //command ID

  </CMDPARMS>

  <CMDPARMS>

  <ParamType>BYTE</ParamType>

  <ParamValue>01</ParamValue>  //command args

  </CMDPARMS>

</CMD>

...

Let say, you wish to add a new command like "Start the EV Motor", then update  the following in the XML file

<CMD>

  <Descrp>Turn ON Red LED (Start the EV Motor)</Descrp>

....

 

Once you save the XML, and open the ADWSN-UI-Tool, you will see this new command in the Config/Commands tab of Monitor And Control window. Hope this helps.

 


Question: RE: How to send “User Defined Commands”  from Border Router to Node? 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
  • ADI Signals+
  • Analog Dialogue
  • Careers
  • Contact us
  • Investor Relations
  • News Room
  • Quality & Reliability
  • Sales & Distribution
  • Incubators
Languages
  • English
  • 简体中文
  • 日本語
Newsletter

Interested in the latest news and articles about ADI products, design tools, training and events? Subscribe today!

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