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
brianwk
@brianwk
It's hard to find
Dariusz Seweryn
@dariuszseweryn
You could go with your own protocol
brianwk
@brianwk
Will it work over BLE?
The info I'm sending won't be longer than 255 bytes
It's a wifi ssid, signal, and frequency
an SSID can only be 32 bytes
Dariusz Seweryn
@dariuszseweryn
BLE is a way of sending bytes through air. You can push how much bytes you please through it. You just need to chunk it the way you can given you are not violating the spec
brianwk
@brianwk
I'm not violating the spec though
sigh
Dariusz Seweryn
@dariuszseweryn

If that is a Long Read then according to Core BLUETOOTH SPECIFICATION Version 5.0 | Vol 3, Part F, 3.2.9 Long Attribute Values::

The maximum length of an attribute value shall be 512 octets.
Having longer values is against specification and it is hard to say what will happen

Leonardo de Jesus
@leoproject
@dariuszseweryn
I'm new to React Native, I need for a college job to create a project that communicates between two devices via bluetooth. From what I researched in bluetooth we have two modes: central and peripheral, how do I put one of the devices in peripheral with the library?
Dariusz Seweryn
@dariuszseweryn
This library currently supports only central mode
Leonardo de Jesus
@leoproject
thanks @dariuszseweryn
João Pimentel
@joaovit1
image.png
Im trying to connect with a Mi Band 3, following these steps, but when I try to write to a descriptor, I get 'BleError: Cannot write to descriptor 00002902-0000-1000-8000-00805f9b34fb. It's not allowed by iOS and therefore forbidden on Android as well.'
There's other way I can do the first step on the photo?
Przemysław Lenart
@Cierpliwy
First step is about enabling notifications. Just call monitorCharacteristic function to do that.
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/