Skip to main content

bluetooth.stopscan()

Halts any GAP scan the imp is currently undertaking

Availability

Device
Only available on the imp004m and imp006 (impOS 42)

Returns

Nothing

Description

This method stops any existing scan. It takes no action if there is no scan to stop. Once this method is called, the callback function registered with bluetooth.startscan() will no longer be called, even if advertisement data has already been received.