Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help : ServiceData is null on iOS during BLE scanning #1257

Open
4 tasks done
Sanjaya94 opened this issue Dec 13, 2024 · 0 comments
Open
4 tasks done

Help : ServiceData is null on iOS during BLE scanning #1257

Sanjaya94 opened this issue Dec 13, 2024 · 0 comments
Labels

Comments

@Sanjaya94
Copy link

Sanjaya94 commented Dec 13, 2024

Prerequisites

  • I checked the documentation and FAQ without finding a solution
  • I checked to make sure that this issue has not already been filed
  • I'm sure that question is related to the library itself and not Bluetooth Low Energy or Classic in general. If that so, please post your question on StackOverflow.
  • I'm running the latest version

Question

Hi, I'm experiencing an issue where the serviceData field is always null when scanning for peripherals using this library on iOS. The same code retrieves serviceData correctly on Android.Any Idea ??

Question related code

this.bleManager.startDeviceScan([TEST_UUID],null, (error, scannedDevice) => {
  if (error) {
    console.error('Scan error:', error);
    return;
  }
  console.log('Scanned Device:', scannedDevice);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant