question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

startDeviceScan error - Cannot start scanning operation - error code: 600

See original GitHub issue

I have the app built with this library.

On Galaxy S10 startDeviceScan method returns the following error.

{"message":"Cannot start scanning operation","errorCode":600,"attErrorCode":null,"iosErrorCode":null,"androidErrorCode":null,"reason":"Bluetooth cannot start (code 0)","name":"BleError"}

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed and found #738 and #390 , but couldn’t find an answer.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:8

github_iconTop GitHub Comments

11reactions
DreamGamercommented, Apr 28, 2022

Hi, i had the same issue with my Samsung S10 and got it fixed. The Samsung S10 has Android 12 and this android update has new permissions. So i updated my AndroidManifest.xml file with these Permissions:

<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE"/>
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"/>
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
<uses-feature android:name="android.hardware.bluetooth" android:required="true"/>
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>

And i also use this package to manage the Persmissions: https://github.com/zoontek/react-native-permissions

2reactions
bear1030commented, Jul 2, 2022

@ShaoGongBra

import {PERMISSIONS, RESULTS, requestMultiple} from 'react-native-permissions'; await requestMultiple([ PERMISSIONS.ANDROID.BLUETOOTH_SCAN, PERMISSIONS.ANDROID.BLUETOOTH_CONNECT, ])

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Cannot start scanning operation" on Android (Samsung ...
I have built a RN app using this library. It works fine on the Galaxy Tab A I develop on but for some...
Read more >
bleerror: cannot start scanning operation
On Galaxy S10 startDeviceScan method returns the following error. {"message":"Cannot start scanning operation","errorCode":600,"attErrorCode":null ...
Read more >
RxBLELibraries/react-native-ble - Gitter
Hello guys. I have read that older verdions of the ble plx lib had problems where no backpressure handling has been applied on...
Read more >
react-native-ble-plx scan does not run when moved inside ...
However I am experiencing a strange issue, that the scanning code does not work within the module when the same code works when...
Read more >
Cannot Start Scanning Operation Error - CoachCare - Zendesk
Upon using the Weigh In feature to sync the App to the Scale if an error message is seen " Cannot Start Scanning...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found