• 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 Proprietary Software & SimpliciTI Forum » Receiving SMPL_LINKID_USER_UUD packets in Access Point ?
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Receiving SMPL_LINKID_USER_UUD packets in Access Point ?

Receiving SMPL_LINKID_USER_UUD packets in Access Point ?

This question is not answered
Bulek
Posted by Bulek
on Apr 10 2012 14:01 PM
Intellectual305 points

Hi,

I'm using one AP and many EDs network based on Sensor Monitor demo and Simpliciti "AP as data hub".

Nothing works yet (with proper Join and Link peocedures) so I'm trying something more basic...

I've created one simple ED that always just transmits  SMPL_LINKID_USER_UUD  packets but I cannot see them on AP.

Do I have to do something special ? I'm polling with SMPL_receive with SMPL_LINKID_USER_UUD as id, but nothing is found... I've also modified call back to leave packets for later retrieval...

Do I have to do anything else to be able to receive those packets ?

Thanks in advance,

regards,

Robert.

 

SimpliciTI eZ430-RF2500
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • MEDARZ
    Posted by MEDARZ
    on Apr 13 2012 19:41 PM
    Prodigy100 points

    I've done some tests and the important thing is as you say, to retreive messages using the SMPL_LINKID_USER_UUD in the SMPL_Receive function. I modified callback function so that i may be able to read established linkIDs and UUD packets like this:

    static uint8_t sCB(linkID_t lid)
    {
    if (lid==sLinkID1)
    sPeerFrameSem++;
    else if(lid==SMPL_LINKID_USER_UUD)
    sUUDFrameSem++;

    return 0;
    }
    Under my main program, I read the semaphores like this:
    if(sPeerFrameSem)
    {
    uint8_t msgRX[MAX_APP_PAYLOAD], len;
    if (SMPL_SUCCESS == SMPL_Receive(sLinkID1,msgRX, &len))
      {
    processMessage(sLinkID1, msgRX, len);
    BSP_ENTER_CRITICAL_SECTION(intState);
    sPeerFrameSem--;
    BSP_EXIT_CRITICAL_SECTION(intState);
    }

    }
    if(sUUDFrameSem)
    {
    uint8_t msgRX[MAX_APP_PAYLOAD], len;
     if (SMPL_SUCCESS == SMPL_Receive(SMPL_LINKID_USER_UUD, msgRX, &len))
    {
    processMessageUUD(SMPL_LINKID_USER_UUD, msgRX, len);
       BSP_ENTER_CRITICAL_SECTION(intState);
    sUUDFrameSem--;
    BSP_EXIT_CRITICAL_SECTION(intState);
    }
    }
    
    
    So far that works for me. I can hear packets sent by AP (LinkID1) and also any frame received under SMPL_LINKID_USER_UUD.
    Regards.
    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