Skip to content

Commit 4240b10

Browse files
author
dbaba
committed
Loose the condition to replace the device name
1 parent 187d1fb commit 4240b10

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/generic-ble.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ async function toDetailedObject(peripheral, RED) {
236236
c.properties.indexOf('writeWithoutResponse') >= 0,
237237
};
238238
if (
239-
!peripheral.advertisement.localName &&
240239
peripheral.state === 'connected' &&
241240
c.type === 'org.bluetooth.characteristic.gap.device_name'
242241
) {

0 commit comments

Comments
 (0)