• 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 Bluetooth® Low Energy & ANT Forum » Controlling stack with HCI commands
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Controlling stack with HCI commands

This question is not answered
Juha O
Posted by Juha O
on Mar 05 2012 01:52 AM
Intellectual300 points

Few questions about new stack:

1)When I use hostTestRelase-project as peripheral device some standard HCI commands are not working. BUT...when I comment out eventHandlers (in hosttestrelase project) of upper level of the stack (L2CAP, GAP, GATT...) device seem to work like controller stack with standard HCI interface. Is it possible to use stack like this? What could happen?

2) Is gatt database off chip function working?

 

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Joakim Lindh
    Posted by Joakim Lindh
    on Mar 05 2012 02:32 AM
    Genius13370 points

    Hi Juha,

    Juha O
    1)When I use hostTestRelase-project as peripheral device some standard HCI commands are not working.

    Could you give any examples of such commands? 

    Juha O
    2) Is gatt database off chip function working?

    I think if you build with GATT_DB_OFF_CHIP compile option. 

    Br

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Juha O
    Posted by Juha O
    on Mar 05 2012 03:38 AM
    Intellectual300 points

    Nick L

    Hi Juha,

    Juha O
    1)When I use hostTestRelase-project as peripheral device some standard HCI commands are not working.

    Could you give any examples of such commands? .

    At least LE_SET_ADVERTISE_DATA. Also responses do not always come or they are not standard HCI commands. It is also pretty hard to implement services off chip, because almost all gatt level commands that are received goes to texas stack (although stack is built with GATT_DB_OFF_CHIP commands). When I tried to use vendor specific HCI commands to implement gatt database off chip uart connection stopped to work. So it would be easier if texas would work just as controller. Is it possible to do so as I explained in the first post?

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Joakim Lindh
    Posted by Joakim Lindh
    on Mar 06 2012 03:24 AM
    Genius13370 points

    Hi Juha,

    If you are referring to GAP_UpdateAdvertisingData (Change/Set advertisement data), it should work just fine, as far as I have used it.

    Regarding the first question in your first post, I have no answer on what might happen. Usually I wouldn't mess with OSAL, but if it works, why not have a go. 

    Br

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Juha O
    Posted by Juha O
    on Mar 06 2012 03:42 AM
    Intellectual300 points

    Nick L
    GAP_UpdateAdvertisingData

    This is a vendor specific message and it is working fine. I meant above a standard HCI message (that does about the same job). But anyway. Thank you for your answers.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Juha O
    Posted by Juha O
    on Mar 07 2012 01:29 AM
    Intellectual300 points

    When GATT SERVER OFF CHIP is used, I do receive ATT_ReadByGrpTypeReq, but when I send ATT_ReadByGrpTypeRsp (eg. 04 ff 0d 11 05 00 00 00 07 06 01 00 03 00 00 18 , primary services asked and there is just GAP on sever) nothing is actually sent. This might be a bug in your stack, if I just have understood everything right. My friend complained about same thing with stack v1.1.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • urs
    Posted by urs
    on Aug 21 2012 02:11 AM
    Prodigy60 points

    Same question here, is it possible at all the control the CC2540/1 with just a part of the stack? I would like to use the stack only up to the L2CAP-Layer (SM, GAP, GATT disabled), but if I try to advertise with the commands

    HCI_LE_SetAdvDataCmd

    HCI_LE_SetScanRspDataCmd

    HCI_LE_SetAdvEnableCmd

    for the simpleBLEPeripheral nothing happens. I also tried it via USB/UART with the HostTestRelease to run some standard HCI commands (not the vendor specific), but without success neither. :-(

    Any comments from TI?

    Thanks a lot.

    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