by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 31 2019 14:20
    stonehippo edited #401
  • Jan 31 2019 14:17
    stonehippo opened #401
  • Jan 29 2019 18:49
    leo-tavares closed #400
  • Jan 29 2019 15:39
    leo-tavares edited #400
  • Jan 29 2019 15:37
    leo-tavares edited #400
  • Jan 29 2019 15:33
    leo-tavares edited #400
  • Jan 29 2019 15:31
    leo-tavares edited #400
  • Jan 29 2019 15:31
    leo-tavares opened #400
  • Jan 28 2019 19:17
    paulreimer closed #398
  • Jan 26 2019 19:05
    bhenav edited #399
  • Jan 26 2019 18:34
    bhenav edited #399
  • Jan 26 2019 18:33
    bhenav edited #399
  • Jan 26 2019 18:32
    bhenav edited #399
  • Jan 26 2019 18:25
    bhenav edited #399
  • Jan 26 2019 18:24
    bhenav edited #399
  • Jan 26 2019 18:21
    bhenav edited #399
  • Jan 26 2019 18:20
    bhenav opened #399
  • Jan 26 2019 00:03
    paulreimer opened #398
  • Jan 25 2019 23:46
    paulreimer opened #397
  • Jan 25 2019 23:20
    ChrisEdson opened #396
manelasaay
@serignemorkaire_twitter
Hi everybody Can we have ble compatibility between Android phone and iOS I mean can a Android devices find a iOS device.
Dariusz Seweryn
@dariuszseweryn
This library currently supports only central mode
manelasaay
@serignemorkaire_twitter
Hi
manelasaay
@serignemorkaire_twitter
Thanks @dariuszseweryn but what is the central mode exactly
Leonardo de Jesus
@leoproject

hi @serignemorkaire_twitter , While I am studying about Bluetooth low energy. I understand that central mode is part communication to scan and the peripheral model is part communication make advertising.

A communication BLE need these two parts

Melvin Mendoza
@mcamendoza1
Hi Forks, does anyone have a tutorial :smile:
Dariusz Seweryn
@dariuszseweryn
There is a sample and documentation
kraison1
@kraison1
Hello, I have tested But I have a problem,
My device can't find other devices.
The alert screen "SensorTag: Search".
all the time. Can you help me?
Dariusz Seweryn
@dariuszseweryn
Hello @kraison1 — you should get an error whenever something is failing. It should have a reason. You can check wiki on how to get full information from an error
Franco T. Robles
@francorobles
@here
is it possible to set/create a custom service uuid?
Dariusz Seweryn
@dariuszseweryn
context?
David Wright
@dwrightj
Hi all, we need to do two things in our React Native apps. First we need our iOS and Android React Native apps to broadcast Advertising data of the Manufacturer Specific Data type. Second, we need the apps to receive the same type of messages when the app is in background. Are either of these two things achievable with the React Native BLE libraries?
Dariusz Seweryn
@dariuszseweryn
Hello. The readme of react-native-ble-plx explains what it can do (central role only). There is a wiki page about background functionality on iOS.
David Wright
@dwrightj
Hi @dariuszseweryn Thanks for the direction. I've looked at the readme and wiki and didn't see that. So, thank you for explaining.
oldcheese
@okischuang

hi all, it's my pleasure to join this room :)

I have a very basic question that I want to confirm if I understand it correctly.

Does react-native-ble support peripheral mode if I have a central which will scan my mobile app ? I saw mentioned no support for communicating between phones using BLE (Peripheral support) in README.

Dariusz Seweryn
@dariuszseweryn
Lookup my previous answer
oldcheese
@okischuang
Ah, I saw you wrote (central role only) right now. Thanks! Can I know if support peripheral mode in near future? Thank you!
Dariusz Seweryn
@dariuszseweryn
No plans for it yet
oldcheese
@okischuang
got it, thanks @dariuszseweryn :)
Oscar Garcia
@OAGA96
Does react-native-ble-plx support react native 0.61.4?
Dariusz Seweryn
@dariuszseweryn
Most probably
Oscar Garcia
@OAGA96
Hello, once i connect the device from where do i get the characteristicUUID?
Dariusz Seweryn
@dariuszseweryn
specification or discovery
Amit Thakur
@passion4IT
Hi. I have been using react-native-ble-manager to develop an iOS app. the iOS app worked fine but when i started building the app for android, the android seems to fail reading the characteristic. i have made sure that the characteristic is readable.
Does anyone have encountered anything similar before?
Dariusz Seweryn
@dariuszseweryn
How did you make sure that the characteristic is readable?
Amit Thakur
@passion4IT
@dariuszseweryn when i call retrieveservices i can see the readable properties of characteristic. the strange thing is: it works for ios platform but not for android.
Ben Oxley
@ben-oxley
Hi, all. Just trying out creating a react native app after battling with web-bluetooth and PWAs. I'm having a few initial teething problems and was trying to check my configuration. I started the expo project using the bare workflow. From my understanding, this is equivalent to calling eject? So I shouldn't need to separately expo eject? Is this correct?
Ben Oxley
@ben-oxley
Further to this question, it seems to be some form of interaction with expo (not sure if it is related to eject/vs bare workflow or not). When I use the module with a vanilla react-native app, the issue doesn't occur.
Dariusz Seweryn
@dariuszseweryn
I am not following expo but it seems so https://docs.expo.io/introduction/managed-vs-bare/
Aly Abdelrahman
@abdelrahmanaly
hello
I am confused on how I can write with react-native-ble-plx
thank you
Dariusz Seweryn
@dariuszseweryn
What exactly gets you confused?
Aly Abdelrahman
@abdelrahmanaly
when I connect to the device
I get device promise, but If I want to write, I am wondering how I can dynamically get the device's UUID, and characteristic UUID so I can write to the bluetooth module
Dariusz Seweryn
@dariuszseweryn
And what google tells you about how to discover BLE devices and how to discover characteristics they use?
Antonio de Perio
@adeperio_twitter
Hi, I keep having a problem with BLEManager.connectDevice. I keep getting an Operation Timed Out error, but no detail or error message to help me debug the problem
Is there a way to get more detail about why a device is timing out?
I"ve increased the timeout to a minute as well and that doesn;t help so something is happening internally that I don't have any visibility on
Dariusz Seweryn
@dariuszseweryn
it's an operation timing out so the app cannot connect in time to your peripheral
psi
@annazus
This library is great! Thank you. My question has to do with deviceId on iOS. Once I pair with a device, can I use the stored deviceId to reconnect with the device in the future?
Assuming the device is in advertising mode and connectable.
Dariusz Seweryn
@dariuszseweryn
@annazus Yes, it should be so
psi
@annazus
Thanks @dariuszseweryn
psi
@annazus
When I scan for a new BLE device, the first time usually neither localName and or name are available on the device. After I connect to it and then say scan again - the device name and localName are available. On occasion even the manufacturer data is missing . The strange part is I can see those fields using a BLE scanner app like nRF connect.
Any tips on how I can obtain localName, name and manufacturer data consistently like nRF connect does?
Dariusz Seweryn
@dariuszseweryn
I expect you have to aggregate data for a particular peripheral. iOS for instance is known for populating localName asynchronously