diff --git a/lib/Bean.js b/lib/Bean.js index 6d14287..170cc94 100644 --- a/lib/Bean.js +++ b/lib/Bean.js @@ -21,7 +21,7 @@ var Bean = function(peripheral) { this.count = 0; this.gst = new Buffer(0); - + this.name = peripheral.advertisement.localName; }; Bean.SCAN_UUIDS = [SERIAL_UUID];