noble / bleno

A Node.js module for implementing BLE (Bluetooth Low Energy) peripherals
MIT License
2.12k stars 447 forks source link

Device Name (OS X) #374

Closed leonardofreitass closed 6 years ago

leonardofreitass commented 6 years ago

The BLENO_DEVICE_NAME is not working on OS X. I tried both solutions: Setting the env on runtime using

process.env['BLENO_DEVICE_NAME'] = name;

And tried also to set the env var with the startup, using BLENO_DEVICE_NAME=name npm start.

Both work on Linux, using nRF Connect to debug, but both shows the hostname on the device name, using a MacBook Pro as host, and the LightBlue to debug.

Benjamin-Willard commented 6 years ago

I have had issues too with the device name being completely blank when scanning them. Once I connect to the device and what not it will work again.

vpfaulkner commented 6 years ago

Also experiencing this.

sandeepmistry commented 6 years ago

This is only supported on Linux.