• 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 » Automatically establishing a link with a blue tooth device once the device enters the range of the GAP master
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Automatically establishing a link with a blue tooth device once the device enters the range of the GAP master

This question is not answered
Ganesh Shivashankar
Posted by Ganesh Shivashankar
on Jul 30 2012 05:17 AM
Prodigy35 points

I am working with a CC2540 Mini DK.  

I plan to create a device that would be paired to a GAP master after the connections have been established.  This device might get out of the range of the master and   when the device reenters the range of the master, it must automatically establish the link again with out any human intervention.

I would be preferable if the device reestablishes the connection.  Can a slave during the initial link establishment become a master later?

This link should  be reestablished based on an event (that the paired device is in the range).

How can I realise this based on the existing source codes available with the kit.?

What is the development kit to be used if the Bluetooth version usable is Bluetooth V2.0?

2540
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Eng351
    Posted by Eng351
    on Jul 30 2012 14:34 PM
    Genius3130 points

    Is the master battery powered? If not the master could scan continuously until it sees the device and connects to it (you can filter out unwanted devices by IEEE address / whitelist / service UUID). Role switching is possible, but it would be recommended to use a simpler solution if possible.

    You would need to modify source to periodically scan, check results and then initiate a connection once the peripheral device is seen within range (exceeding a predetermined rssi).

    CC2540 is for the Bluetooth low energy / Bluetooth smart side of BT V4.0 spec. BTV2.0 devices are not compatible with it. The CC2560 can be used with BTV2.0 devices but is only available to us as a panasonic module http://www.ti.com/tool/pan1323emk. This requires an external micro (MSP) to drive the stack.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ganesh Shivashankar
    Posted by Ganesh Shivashankar
    on Jul 31 2012 02:43 AM
    Prodigy35 points

    Thanks for the quick reply.   My master device is battery powered ( a mobile phone).  I understand that I cannot avoid manual reconnection.  I must at least put the slave device into broadcasting mode to conserve power on the master and the slave device.  I think that even role reversal is done, I will still use up battery if the connection stays broken for long period of time.

    I want to meet and talk to a Bluetooth resource person in and around Bangalore, India.  I will be willling to go and meet him anytime.   I need to clarify a few things with reference to the standard code supplied with the development kit.   Users of this forum please indicate if you are in this area and if we could meet.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • senthil kumar69729
    Posted by senthil kumar69729
    on Aug 03 2012 00:33 AM
    Expert1120 points

    Hi Eng351,

    Can you please provide some link of how to add the devices in to Whitelist ?

    I cannot able to find any documentation on Whitelist ?

    To my understanding , Whitelist is something we add in Central side and by enabling the option "whitelist" in my Central side I can avoid connecting to unwanted devices .Is this correct ?

    My Requirement :

    I want my Keyfob to connect only with my Central device (Dongle).If any other device is trying to connect with my device (keyfob ) ,i have to reject it.

    I know that by making my keyfob to advertise "Connectable directed advertisement " , i can meet my requirement .But right now ,connectable directed advertisement is not working :( So while surfing i came across "Whitelist " , so can you please tell me whether i can meet my requirement with "White List " ? if yes can you please send required link.

    To my understanding , If some other Dongle with white list option disabled can able to connect to my keyfob.

    Eagerly expecting your reply, Sorry for too many questions :(

    Senthil

    NiceDay,

    Senthil

    CC2540 white list and Directed advertisement
    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