Open sandeepmistry opened 7 years ago
This issue is logged as Jira 770. This feature is currently not implemented.
@sandeepmistry Would you please provide the reasoning of using deviceName as oppose to localName of a Peripheral?
Since the 0x2a00 characteristic is mandatory by the Core Bluetooth spec, it would be nice to have a convenience API to read the device name. It also allows you to store a longer name in the peripheral incase there is not enough space for the full desired local name to be advertised.
Once #378 is addressed this would be easier.
I'm using the peripheral explorer with bleno's echo example.
peripheral.deviceName()
return an empty string. I expect it to returnraspberrypi
.Here's the output:
Might be related to #378.