How to get Bluetooth device name on BT version below 4.2

54 Views Asked by At

I am trying to fetch car bluetooth device name with BT version below 4.2 in iOS, the car panel has android OS v10. I am able to fetch the bluetooth device name above BT v4.2 but when I try below this version it gives me null.

I've tried to fetch the names using:

advertisementData["kCBAdvDataLocalName"] 
peripheral.name

Screenshot attached below for the response I am getting.

Response when printed peripheral

0

There are 0 best solutions below