• 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 » Access Neighbor Table
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Access Neighbor Table

This question is not answered
Abhishek Trivedi
Posted by Abhishek Trivedi
on Aug 17 2012 11:30 AM
Prodigy170 points

Hi,

 Can anyone tell me how to access the a device's own neighbor table? As the ZDP_MgmtLqiReq() I guess can only be used to retrieve other device's neighbor table.

I would really appreciate any help..

Thanks.

Abhishek.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Ilya Averin
    Posted by Ilya Averin
    on Aug 19 2012 23:44 PM
    Expert1600 points

    Hi,

    the table can be obtained by using the ZDP_MgmtLQIReq() with the appropriate (device's) short address.

    regards,

    Ilya 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Abhishek Trivedi
    Posted by Abhishek Trivedi
    on Aug 21 2012 10:18 AM
    Prodigy170 points

    Hi Ilya,

    Thanks for responding.

    It seems that you can only add the short address of other devices not of the same device in the function. I want to access the neighbor table of the same device in which I flash the program.

    What do you think?

    Abhishek.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ilya Averin
    Posted by Ilya Averin
    on Aug 21 2012 13:17 PM
    Expert1600 points

    Hi Abhishek,

    Yes, I meant that it is possible to address the node by itself  by pointing its short address in the command.

    regards,

    Ilya

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Abhishek Trivedi
    Posted by Abhishek Trivedi
    on Aug 21 2012 15:47 PM
    Prodigy170 points

    Hi Ilya ,

    I traced to a function called AF_DataRequest in ZDP_MgmtLqiReq , in which it checks for a condition as shown below:

    // First, make sure the destination is not its self, then check for an existing route.
    if ( (dstAddr->addr.shortAddr != NLME_GetShortAddr())
    && (RTG_CheckRtStatus( dstAddr->addr.shortAddr, RT_ACTIVE, (MTO_ROUTE | NO_ROUTE_CACHE) ) != RTG_SUCCESS) )
    {
    // A valid route to a concentrator wasn't found
    return ( afStatus_NO_ROUTE );
    }
    }

    Do you thinks its gonna be a problem?

    Abhishek.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • zhong ren
    Posted by zhong ren
    on Aug 21 2012 19:53 PM
    Intellectual480 points

    HI

    you can try this aPI

    neighborEntry_t    entry;

    NLME_GetRequest( nwkNeighborTable, index, &entry );

    index is from 0 to the max neighbortable items

    and you can use this api to get this numbel

      NLME_GetRequest( nwkNumNeighborTableEntries, 0, &maxItems );

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ilya Averin
    Posted by Ilya Averin
    on Aug 22 2012 00:39 AM
    Expert1600 points

    Hi Abhishek,

    I'd like to refine what kind of problem you mean. Have you tried to point out the own short address of a node in the command? What is the result?

    It should be mentioned that the node must be in a network and the ZCD_NV_ZDO_DIRECT_CB or ZDO_ MSG_CB_REGISTER/ZDO_ MSG_CB_INCOMING commands should be used in a appropriate way.

    regards,

    Ilya

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
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