This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5659+pan1326

I am using bluetopia stack in my project.i would like to implement two options with regarding to the bluetooth communication on host controller

1) the first one is the device which i am implementing the stack should search for nearby paired devices and connect automatically and send the data

search connect send is the sequence.

2)The second option should be

set as discoverable
if the other device is not in range and then if the other device comes in range then in should then connect and

send the data

Could you please tell me how to achieve this with bluetopia stack

  • Hi,

    Can you clarify the second part of the Question? Do you want the MSP430 to be discoverable when there no paired devices in range and then change to non discoverable after connection?

    Thanks,

    Stonestreet One.

  • Hi,

    The devices for example a mobile phone,will already be paired  with the msp430 based device and if mobile phone comes in range it should automatically connect and send the data

    And if its not in range it should wait till the phone comes in range.The idea when a already paired bluetooth device comes in range it should automatically connect and send the data

    Thanks

  • Hi,

    The idea is  when a already paired bluetooth device comes in range it should automatically connect and send the data

     

    Thanks

  • Since the devices are paired and know each other's Bluetooth addresses, neither of them needs to be discoverable. It is good if they are as the other device can determine if the device is in range. But it needs to search for the device periodically and that is like the first case.

    If the phone is not discoverable, the MSP will have to try to connect to it periodically as it knows its Bluetooth Address. For a generic solution, it will have to be polled.

    --

    Stonestreet One.