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.

Lack of bluetooth information.

See original GitHub issue

Hi guys.

I am using react-native-ble-manager v3.2.1, I want to get data from connected device with below code:

BleManager.connect('XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX')
  .then((peripheralInfo) => {
    // Success code
    console.log('Connected');
    console.log(peripheralInfo);
  })
  .catch((error) => {
    // Failure code
    console.log(error);
  });

My problems are the peripheralInfo does not hold enough Bluetooth data information. I connected my Bluetooth device with Android native app, everything is ok. I can receive whole Bluetooth data.

So, how can I get full Bluetooth data from react-native-ble-manager?

Thanks,

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
marcosinigagliacommented, May 5, 2017

Hi @ZuzooVn , what data is missing?

0reactions
marcosinigagliacommented, May 8, 2017

I don’t know what’s your situation, if your Bluetooth is continuously send data, like a heartbeat monitor, i think you write your value in a characteristic and you read this value from your app. If your data is not costant you have to subscribe to a characteristic from the the app.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Fix Your Broken Bluetooth Connection - TIME
Bluetooth problems? We feel your pain. Here's what to do when your wireless gadgets won't work.
Read more >
Why Bluetooth remains an 'unusually painful' technology after ...
Despite its pervasiveness, the technology is still prone to headache-inducing issues, whether it's the struggle to set up a new device to ...
Read more >
Bluetooth Range and Reliability: Myth vs Fact
This article looks at a few of the most common myths about Bluetooth technology and the facts behind the fiction.
Read more >
Having Bluetooth connectivity problems? Try these quick fixes
Toggle Bluetooth on/off or reboot the device(s); Check battery strength to ensure it is sufficient; Re-pair devices to re-establish connections.
Read more >
Understanding Bluetooth Pairing Problems | Wirecutter
The problems include failing to pair, audio hiccups, and recurring dropped connections. The situation usually involves a few Bluetooth devices— ...
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