• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF ZigBee® Software & IEEE 802.15.4 Forum » end device retransmission problem?
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

end device retransmission problem?

end device retransmission problem?

This question is not answered
liangliang lou
Posted by liangliang lou
on Jan 02 2013 01:46 AM
Expert1870 points

hi

  i found that end device often retransmission data,i don't know what causes this problem.

this distance between the end device and its parent is very close.and i use the sniffer to catch the packet and the rssi of the packet are all larger than -30dbm.

but the the retransmission phenomenon is quite obvious;

the screenshots is shown as follow

  

what can i do to solve or inprove this phenomenon?

hoping your advice whether right or wrong?

regards!

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • YiKai Chen
    Posted by YiKai Chen
    on Jan 02 2013 01:58 AM
    Mastermind9620 points

    Dears,

    I see there is ACK to your ED so the retransmission should be caused by your application. How do you send out a packet? Trigger by a button or send out periodically?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liangliang lou
    Posted by liangliang lou
    on Jan 02 2013 02:02 AM
    Expert1870 points

    i send the periodically,without aps acknowledgement;

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on Jan 02 2013 02:31 AM
    Mastermind9620 points

    Dears,

    Can you show me your SYSTEM_HEARTBEAT_EVT?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liangliang lou
    Posted by liangliang lou
    on Jan 02 2013 02:34 AM
    Expert1870 points

    ok

      

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on Jan 02 2013 02:43 AM
    Mastermind9620 points

    Dears,

    You do not return with event^ SYSTEM_HEARTBEAT_EVT in your if statement. It should looks like:

    if (event & SYSTEM_HEARTBEAT_EVT)

    {

       basicRfReportHeartbeatFrame();

       return (event^ SYSTEM_HEARTBEAT_EVT);

    }

    Add return to see if it solves your problem.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liangliang lou
    Posted by liangliang lou
    on Jan 02 2013 03:14 AM
    Expert1870 points

    dear YiKai Chen,

    I have a try,and the related result is waiting for;

    but i feel confused that i use below code in function void zb_HandleOsalEvent( uint16 event ),

    if (event & SYSTEM_HEARTBEAT_EVT)

    {

       basicRfReportHeartbeatFrame();

    }

    and the funtion zb_HandleOsalEvent() is called shown as follow

    at the end ,variable enents will set 0 return.

    so in my opinion,it is not need to clean the SYSTEM_HEARTBEAT_EVT!

    now the result is that this phenomenon is solved perfectly.

    can you explain to me?

    thank you !

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liangliang lou
    Posted by liangliang lou
    on Jan 02 2013 03:17 AM
    Expert1870 points

    i am so sorry to tell you

    i found the problem is also exist,i found  the end device will retransmission  sometimes,but the problem is improved!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on Jan 02 2013 03:24 AM
    Mastermind9620 points

    Dears,

    If you don not use event^ SYSTEM_HEARTBEAT_EVT to exclude the bit of SYSTEM_HEARTBEAT_EVT, it will keeps there and enter the "if statement" always every time your zb_HandleOsalEvent is called. You can not just use return 0 since you have process the event. You need to clear the bit.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on Jan 02 2013 03:26 AM
    Mastermind9620 points

    Dears,

    What is the value of SYSTEM_HEARTBEAT_PERIOD? Do you set it very short?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liangliang lou
    Posted by liangliang lou
    on Jan 02 2013 03:29 AM
    Expert1870 points

    the value i set is equal to 60 seconds,this mean that the heartbeat frame is reported every minute to the coordiantor

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on Jan 02 2013 03:33 AM
    Mastermind9620 points

    Dears,

    Show me the latest sniffer log will make it possible to see where the problem is.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liangliang lou
    Posted by liangliang lou
    on Jan 02 2013 03:40 AM
    Expert1870 points

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on Jan 02 2013 03:52 AM
    Mastermind9620 points

    Dears,

    Try to set -DAPSC_MAX_FRAME_RETRIES=0 in your f8wconfig.cfg.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • liangliang lou
    Posted by liangliang lou
    on Jan 02 2013 03:54 AM
    Expert1870 points

    you mean that to disable the retransmission function ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on Jan 02 2013 03:57 AM
    Mastermind9620 points

    Yes!

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
12
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use