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 Data Packets from Node WSN
    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?

    Data Packets from Node WSN

    Original Question: Data Packets from Node WSN by Ramya

    how to stop receiving packets for 30 sec once the 1st packet is received from the node WSN , even though their s activities detected in sensors


    Verified Answer: RE: Data Packets from Node WSN by schennu

    Hi Ramya, The function Config_Ext_Ints(), configures the external interrupts. And is called just before the device enters hibernate mode. In your application, it is not required to call this every time, but only after the required time elapses. So, you can add a condition to execute this only when needed.


    Question: RE: Data Packets from Node WSN by schennu

    Hi Ramya, Thank you for posting a query. This seems like a custom implementation you're trying and is not covered within the EDK support terms. But to help you out on this;  
    I recollect there was similar query from Pixzee a month or two ago; to send data only on ADXL362 events. Is this an extension to that work? If so you can tag that post, so that we can answer quickly.

    Coming to the issue, it seems like you wish to disable the interrupt for 30 seconds post the first packet (or every packet?). You can do this by disabling the interrupt pin connected to ADXL362 just before the first packet is sent.
    Assuming it is the same system & software we released as part of AD6LoWPAN01_EDK;

    Use below function to disable the interrupt after the first (or every) packet is sent.

    adi_GPIO_DisableIRQ(EINT1_IRQn);

    Once 30 seconds are counted, you can re-enable the interrupt by calling below function.
    adi_GPIO_EnableIRQ(EINT1_IRQn, ADI_GPIO_IRQ_RISING_EDGE);

    You can use a counter variable to count 30 seconds time and re-enable this interrupt after every packet sent.
    clock_seconds() funtion will give you number of seconds since the node is powered up.

    Hope this helps.

    Note: It would be helpful if you mention the release version being used in your project as there are several releases with different protocols we support. 


    Question: RE: Data Packets from Node WSN by Ramya

    hi schennu

    thank you for your reply, coming to the query ,yes it is an extension to the work asked in the post Restrict End Node from pushing packets continuously. 

    We are working on AD6LoWPAN01 EDKv1.0   Platform: EV-ADRN-WSN-1Z   with the Protocol: AD6LoWPAN

    i want to restrict the packets once the 1st packet is sent for the desired amount time , you have told to disable adi_GPIO_DisableIRQ(EINT1_IRQn); please can you let me know where i can find the trigger point, and the information about the 1st packet reception(which function?).

    since clock_seconds() function gives me the number  of seconds since the node is powered up, to obtain the 30 sec count ,extra function is to be written or i can make use of any inbuilt counter in the program.

    thanks

    Ramya


    Question: RE: Data Packets from Node WSN by schennu

    Hi, You can call that API at the end of send_packet() in udp_client.c file.

    And to get the count you could read the current_seconds into a local variable in the main() and write a condition to check for +30 (or whatever the time you wish to disable event) and then re-enable the interrupt by calling adi_GPIO_EnableIRQ(EINT1_IRQn, ADI_GPIO_IRQ_RISING_EDGE);

    Hope you find this helpful.


    Question: RE: Data Packets from Node WSN by schennu

    Hi,

    Can you make sure the interrupt is not re-enabled in anywhere else? Also, when do you see the packets get transmitted? Are these transmitted periodically? Then you need to set larger sleep period as we mentioned in the answer for the previous post.

    First, make sure the packets are sent only on the external interrupt from ADXL362 and NOT periodically. Then try to disable the interrupt after the first packet. 


    Question: RE: Data Packets from Node WSN by Ramya

    hi, thanks for your suggestion, i called  adi_GPIO_DisableIRQ(EINT1_IRQn); at the end of send_packet(), and after some delay i re enabled the interrupt,but no luck their was a continuous transmission of packets ,

    and i tried with one more test case where i just disabled the interrupt and didn't re-enabled it , i was expecting no packet reception but their is a reception packets even though the interrupt is  been disabled, 


    Question: RE: Data Packets from Node WSN by Ramya

    Hi,

    The Sleep time is set to 5000, and i have no where re- enabled the interrupt, and the  packets are sent only on the external interrupt from ADXL362, it doesn't send packets periodically.

    The API adi_GPIO_EnableIRQ(EINT1_IRQn, ADI_GPIO_IRQ_RISING_EDGE) is called by function  Config_Ext_Ints(), in lpm_hal.c 

    • 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.