@@ -183,7 +183,7 @@ class BluezBindings extends EventEmitter {
183183 }
184184 }
185185
186- option ( proxy , prop , defaultValue = null ) {
186+ _option ( proxy , prop , defaultValue = null ) {
187187 if ( proxy [ prop ] ) {
188188 return proxy [ prop ] . value ;
189189 }
@@ -592,7 +592,7 @@ class BluezBindings extends EventEmitter {
592592 }
593593 } ) ;
594594
595- const rssi = this . option ( device , 'RSSI' ) ;
595+ const rssi = this . _option ( device , 'RSSI' ) ;
596596 const address = ( device . Address . value || '' ) . toLowerCase ( ) ;
597597 const addressType = device . AddressType . value ;
598598 const connectable = ! device . Blocked . value ;
@@ -612,9 +612,9 @@ class BluezBindings extends EventEmitter {
612612 } )
613613 : null ;
614614 const advertisement = {
615- localName : this . option ( device , 'Alias' ) ,
616- txPowerLevel : this . option ( device , 'TxPower' ) ,
617- serviceUuids : this . option ( device , 'UUIDs' , [ ] ) ,
615+ localName : this . _option ( device , 'Alias' ) ,
616+ txPowerLevel : this . _option ( device , 'TxPower' ) ,
617+ serviceUuids : this . _option ( device , 'UUIDs' , [ ] ) ,
618618 manufacturerData : manufacturerData ? Buffer . from ( manufacturerData ) : null ,
619619 serviceData,
620620 } ;
0 commit comments