Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions gap_nrf528xx-central.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,8 @@ func (a *Adapter) StopScan() error {
return errNotScanning
}
a.scanning = false

// TODO: stop immediately, not when the next scan result arrives.

return nil
errCode := C.sd_ble_gap_scan_stop()
return makeError(errCode)
}

// In-progress connection attempt.
Expand Down
Loading