React-native-ble-plx: How to get local bluetooth address?

Created on 18 Jun 2017  路  3Comments  路  Source: Polidea/react-native-ble-plx

Most helpful comment

What do you mean by local bluetooth address? On Android Device.id field will be a MAC address of a device and on iOS it will be autogenerated UUID. However this value on iOS is not guaranteed to be persistent.

All 3 comments

What do you mean by local bluetooth address? On Android Device.id field will be a MAC address of a device and on iOS it will be autogenerated UUID. However this value on iOS is not guaranteed to be persistent.

@Cierpliwy any ideas how to fix non-persistent UUID?

You could put your device's unique ID in advertisement data under manufacturer data (0xFF) if you want to detect your device without connecting. Another option is to advertise you device's specific service UUID (0x07).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paddlefish picture paddlefish  路  4Comments

JordanKlaers picture JordanKlaers  路  5Comments

brycejacobs picture brycejacobs  路  5Comments

SlavaInstinctools picture SlavaInstinctools  路  4Comments

kevinmeyvaert picture kevinmeyvaert  路  4Comments