rusel1989 / react-native-bluetooth-serial

Port of https://github.com/don/BluetoothSerial for react native
476 stars 291 forks source link

Cannot discover Adafruit Bluefruit LE UART Friend #46

Open jchirschy opened 7 years ago

jchirschy commented 7 years ago

Hello,

With the working example, I cannot discover Adafruit Bluefruit LE UART Friend. It seems that TX and RX are exchanged if I refer to the following documentation : https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-friend/uart-service TX must be on 0x0002 and RX on 0x0003

So I edited ../ios/RCTBluetoothSerial/BLEDefines.h correspondingly but it doesn't seems to work either. I'm working on Android, it this the right file to edit ? Did I miss something else ? Do I need to compile java files or something like that so the changes are taking into account ?

Sincerly

bmoe872 commented 7 years ago

Hello,

I ran into the same issue you are experiencing. So I will tell you what I was told. This library does not currently support BlueTooth Low Energy on Android.

https://github.com/rusel1989/react-native-bluetooth-serial/issues/32#issuecomment-294026790