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.

BLE Device Discovery to Authenticated App Only

Hi All,

Is it possible to Hide my BLE Device discovery from other applications except my own application ?

means device will be visible to my application only and not any other application.

As per my knowledge,I think we can not restrict BLE Device discovery but we can have restriction on connection request  using PASSKEY  and restrictions to read Values of services or characterestics.

still I wanted to know is there any way out for this?

  • Hi Sarang,

    sarang kalbande said:
    Is it possible to Hide my BLE Device discovery from other applications except my own application ?

    ,

    Not that I can think of. You always have the option to immediately disconnect if you "don't like" the peer device that established the connection. By "don't like" I refer to some logic reference check (address etc.)

    Best Regards

    Joakim

  • Hi Joakim,

    Thank you for the reply.

    I would also wanted to know like when we establish a connection with peer Device,it remains connected unless and untill

    we disconnect It from master(Ipad) End.

    can you suggest some way to implement self disconncet timer Functionality in Bonded and Non-bonded mode to auto disconnect the master device from slave side?

    Thanks

    Regards,

    Sarang K.

  • Hi,

    If you want to disconnect from master after certain timeout, you can set an event timer of that timeout. 

    When event occurs,  terminate link using following API: 

     GAP_TerminateLinkReq( uint8 taskID, uint16 connectionHandle, uint8 reason );

    Hope this will work.