2 Replies Latest reply on Jun 24, 2016 2:49 AM by user_1604701

    How refuse connecting of any unknown central out of time



      I have a Peripheral all time advertising, configured like this:


      Discovery mode: General


      Advertising type: Connectable undirected advertising


      Filter policy: Scan request Any | Connect request Any


      Security mode: Mode1, no security (No auth, no encry.)




      I want push a button in the peripheral device and allow (during a time of 2 minutes) any unknown central can get connection.


      After this time, peripheral must refuse again any unknown central except devices that got connect during de allowed time. 


      How could I do this ?


      Any help will be appreciated,