2 Replies Latest reply on Mar 29, 2017 6:56 AM by jrow

    CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT event being processed twice

    parthiv.parikh_1801816

      I am running a simple code to just print the address of nearby peripheral devices. But, while trying so I figured out that for the same peripheral device the SCAN_PROGRESS_RESULT event was being called twice and hence the routine inside it was being executed twice. Is there any way I can stop this from happening?

         

      I have made a simple project which just prints a character once the event is executed to verify my observation. That character was printed twice on the terminal.[Project file is attached below.]

         

      Kindly provide solution/suggestion on how can I solve this problem.

         

      PS:The advertising peripheral device is PRoC dongle running a Find Me profile.

         

      In the future I wish to use the Service Data in the advertising packet.