• 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 » Key Establishment default response when using ZAP.
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Key Establishment default response when using ZAP.

Key Establishment default response when using ZAP.

This question is answered
Kiwi
Posted by Kiwi
on May 20 2012 16:54 PM
Prodigy120 points

Hi,

When our coordinator (ESP) sends out an initiate Key Establishment to a IPD that has already joined correctly the IPD responds with a Key Establishment default response instead of continuing with the Key Establishment.

We have tested with the TI examples using a Smart RF05 board as the co-ordinator and a EXP430F5438 board (running ZAP) as the IPD and we get the same incorrect default response as above.

If we Test with 2 Smart RF05 boards (one co-ordinator, one IPD ) we get the correct action and the Key Establishment proceeds correctly.

All firmware versions are using the sample apps supplied in 2.5.0.

Any ideas of what we are missing in the ZAP version?

We need this to pass SEP1.1 testing.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Varun Shukla
    Posted by Varun Shukla
    on May 20 2012 22:20 PM
    Intellectual290 points

    Hi,

    Is device end point is correctly mentioned in Initiation command for Key Establishment for IPD. Else you have to discover the end point for key establishment cluster before starting it.

    --Varun

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kiwi
    Posted by Kiwi
    on May 21 2012 16:20 PM
    Prodigy120 points

    Hi,

    Yes it is correct. It works in the SmartRf05 setup but not the ZAP setup.

    Also this issue was brought to our attention by our Testing Lab who have exactly the same issue with our product and we can reproduce it.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Suyash Jain
    Posted by Suyash Jain
    on May 24 2012 20:03 PM
    Expert3300 points

    Hello Kiwi,

    Can you verify the following, when creating the ZNP image did you use the live Certicom library and also had the following compile options when creating the ZNP image:

    POWER_SAVING
    ZCL_KEY_ESTABLISH
    TC_LINKKEY_JOIN
    TEST_CERT_DATA
    SECURE=1

    Also, when using the ZAP project you had -DSECURE=1 in the zap.cfg file and TC_LINKKEY_JOIN enabled.

    I was able to create a setup with ZAP-ZNP (IPD) and CC2530 (ESP) with out of box sample SE applicaiton to have succesful Key Establishment procedure.

    Let me know if this is able to help you. Thanks

    Regards

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kiwi
    Posted by Kiwi
    on May 24 2012 21:02 PM
    Prodigy120 points

    Hi,

    Thankyou for your reply.

    I think you may have missed that the initial CBKE process works fine and everything works perfectly.

    It is when the ESP initiates another Key Establishment as per the SEP 1.1 Test Specification 075384r30 test case 15.30.

    In this case it does not continue with the key establishment process but sends a Default response.

    If needed I can send you a capture of this.

    Thanks

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Carlo Marsano
    Posted by Carlo Marsano
    on May 27 2012 17:29 PM
    Prodigy600 points

    Can you please provide us the sniffer capture of your observation. We are trying to understand the issue and that will be helpful in providing the solution.

    Thanks Carlo.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kiwi
    Posted by Kiwi
    on May 27 2012 17:48 PM
    Prodigy120 points

    Hi Carlo,

    Below is a sniffer screenshot.

    The highlighted line shoes the incorrect response.

    I have also emailed you the original file.

    Thanks

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kiwi
    Posted by Kiwi
    on May 27 2012 17:53 PM
    Prodigy120 points
    15-30.pdf

    Attached this time..

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Suyash Jain
    Posted by Suyash Jain
    on May 29 2012 16:03 PM
    Verified Answer
    Verified by Kiwi
    Expert3300 points

    Hello Kiwi,

    From the log, line 303, I see that the Initiate Key Establishment Request is sent to endpoint 0x0C while the KeyEstablishment cluster on your device is supported on endpoint 0x0A, I think this as the first time the end-device initiates the Key-Establishment procedure it does it from the Endpoint 0x0A. When initiating the Key Establishment for the second time from the coordinator can I ask you to start by sending the request to endpoint 0x0A or you can start by sending a match descriptor request for Key Establishment cluster from the coordinator or employ some code to determine on which end point is the key establishment supported on the remote device and then start the key establishment procedure. Please let me know if you have any question and let me know if this helps you. Thanks

    Regards

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Kiwi
    Posted by Kiwi
    on May 30 2012 22:26 PM
    Prodigy120 points

    Hi,

    Thankyou you are correct.

    What we didn't realise ( and our test house didn't notice either) was when using ZAP the Key Establishment is on a different endpoint from the other clusters.

    Thanks again.

    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