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?
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.
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.
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 :(
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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.