1 Reply Latest reply on May 22, 2016 9:08 PM by madhul_36

    Connect to a BLE peripheral without scanning

      Hello Everyone,


      I am using two PROC BLE devices one configured as GAP Peripheral & another as GAP Central. 


      I want to scan for the device and run service discovery only for the first time I connect with the device. 


      From the second time onwards I should only connect to the device update a value and disconnect. 


      Is this possible? 

        • 1. Re: Connect to a BLE peripheral without scanning

          Yes! ofcourse it is possible.


          You can connec to the device and bond it the first time you connect. You can discover it services in the first time and store the characteristic handle values in your code.


          From next time onwards you need not discover. You can directly use the handle values and perform read/write.


          (Note if you want to retain the handle values even after power off/ hibernate, you need to store them in your on-chip flash.




          -Madhu Sudhan