akiles-react-native
    Preparing search index...

    Function scan

    • Scan using Bluetooth for nearby Akiles devices.

      The sequence of callbacks is guaranteed to be zero or more onDiscover, then exactly one of onSuccess or onError.

      Parameters

      • timeout: number

        For how long to scan.

      • callback: ScanCallback

        The callback that will be called on success or error.

      Returns () => void

      A function that cancels the ongoing scan operation.