2015-02-18 03:32 AM
Hello,
I have some troubles while discovering ble devices:no matter
what
I set
the interval
scanning (to aci_gap_start_general_discovery_proc function) procedure
lasts
10 seconds
.Can I
somehow
reduce the duration of
the scan
?
Regards, Andrei Kukenov2015-02-19 03:10 AM
Hi Andrei,
the aci_gap_start_general_discovery_proc procedure is terminated when the procedure Aci_Gap_Terminate_Gap_Procedure with the procedure code set to 0x02 is send or a timeout happens (10.24 seconds).
Therefore if you want to reduce the scan procedure, you can send the Aci_Gap_Terminate_Gap_Procedure with the procedure code set to 0x02.
Regards,
Graziella Marchese2015-02-19 04:05 AM
Hi, Marchese
Thacks a lot for your quick reply!!! Regards, Andrei Kukenov