Skip to content

Commit 0087a8d

Browse files
committed
fix(android): default transport revert to TRANSPORT_LE
see JuulLabs/kable#61
1 parent de38ada commit 0087a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bluetooth.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1718,7 +1718,7 @@ export class Bluetooth extends BluetoothCommon {
17181718
ad.getApplicationContext(), // context
17191719
false, // autoconnect
17201720
this.bluetoothGattCallback,
1721-
args.transport !== undefined ? args.transport : android.bluetooth.BluetoothDevice.TRANSPORT_AUTO
1721+
args.transport !== undefined ? args.transport : android.bluetooth.BluetoothDevice.TRANSPORT_LE
17221722
);
17231723
}
17241724
Object.assign(this.connections[pUUID], {

0 commit comments

Comments
 (0)