dotintent / react-native-ble-plx

React Native BLE library
Apache License 2.0
3.05k stars 513 forks source link

Support for eddystone urls #169

Closed Jowin closed 6 years ago

Jowin commented 6 years ago

Is there a way to get eddystone beacon details while scanning ? Fields like Instance Id seems to be missing while scanning.

Cierpliwy commented 6 years ago

Currently we can only send following fields of advertisement data on iOS: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/advertisement_data_retrieval_keys On Android we have all advertisement data bytes available, but I decided to parse only above to keep compability with iOS.

Jowin commented 6 years ago

Thanks for the revert, I was unable to find any documentation with regard to the advertisement data. Could you point to some part of the documentation for the library where the advertisement data is sent? Currently while trying out an implementation I only saw service uuid, etc.

Cierpliwy commented 6 years ago

You can't access raw advertisement data on iOS.You are limited to: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/advertisement_data_retrieval_keys

Jowin commented 6 years ago

Thanks for the quick revert. Much appreciated.