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.

CC2650: Auto connect from Host test

Part Number: CC2650

Hi,

 I am testing Dual mode (Central, Peripheral) using the HOST test program.

When you look at your Android phone, it automatically connects when the Bluetooth earphone is turned on.

As above, I want to connect automatically when the host test program when temperature device(Peripheral) turn on.

To do this, this should periodically scan in the host test.
what should I do?

thanks,

SC Lee.

  • Hi Seungcheol,

    What kind of device are you using as application processor for your host test device? E.g. BTool, some MCU..

    From a BLE perspective it sounds like you need to instruct your host test device to scan with a certain time interval. When it discovers the temperature device it should send a connection request.

  • Hi, Marie H.

    I control Host Test from external MCU. Btool is used only as a test in the development process.

    I want to make connection requests periodically.

    When it finds the device, it will make a connection request.

    thanks,

    SC Lee.

  • Hi,

    Please review the document TI_BLE_Vendor_Specific_HCI_Guide.pdf (in the docs folder of your SDK).

    The following commands might particularly interest you: GAP_EstablishLinkReq, GAP_SetParam, GAP_DeviceDiscoveryRequest

    I hope this will help,

    Kind regards,

  • Hi, 
    I checked the setting value of GAP_SetParam but I can't understand it.
    I want to scan periodically.
    How to set GAP_EstablishLinkReq, GAP_SetParam, GAP_DeviceDiscoveryRequest?
    Thanks,
    SC Lee