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.

How to reject BLE connection request.

HI All,

HW: CC256x
SW:  bluetopia -Version-1.1

I am using bluetopia on PAN1323ETU module. I am looking to establish a secure connection in both BT  & BLE mode. For this I have selected SPPLE demo as start point & working in LE mode.


After running the demo I observed that, whenever client sends a connection request to slave, slave accepts connection request and connects automatically. I see some options in BR/EDR mode to reject the incoming connection after switching to manual Accept mode. is there any such options available in LE mode?

Please let me know.

  • Hi,

    Have you enabled Man In the Middle Mode?. You can set this by calling the function before starting GAPBond Manager 

    mitm = TRUE; //1

    GAPBondMgr_SetParameter(GAPBOND_MITM)PROTECTION, sizeof(uint8_t), &mitm);

    Regads,

    Arun

  • HI Arun,

    Thanks for your reply.

    I don't see any API's like GAPBondMgr_SetParameter(); in bluetopia stack. Instead MITM information and device capability informations are exchanged only when a pair request comes. Since I am operating as slave, I will exchange these information with master when a Master sends a PAIR request to me.

    So, If a master try to read or write my characteristic table without pairing, I am allowing it to do So ! I want to restrict any device to perform read/write operation without authentication.

     

    Thank you.

  • Hi,

    Setting up the device as a white list would work. You can also try to force encryption and pair if the device is known. This topic might help, http://e2e.ti.com/support/wireless_connectivity/f/538/p/306153/1081626.aspx#1081626

    Thanks,

    Stonestreet One.