File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1741,7 +1741,7 @@ export class Bluetooth extends BluetoothCommon {
17411741 } ) ;
17421742 } ) ;
17431743 let services , mtu ;
1744- if ( args . autoDiscoverAll !== true ) {
1744+ if ( args . autoDiscoverAll !== false ) {
17451745 services = ( await this . discoverAll ( { peripheralUUID : pUUID } ) ) ?. services ;
17461746 } else if ( args . serviceUUIDs ) {
17471747 services = ( await this . discoverServices ( { peripheralUUID : pUUID , serviceUUIDs : args . serviceUUIDs } ) ) ?. services ;
Original file line number Diff line number Diff line change @@ -1025,7 +1025,7 @@ export class Bluetooth extends BluetoothCommon {
10251025 } ) ;
10261026 let services ,
10271027 mtu = FIXED_IOS_MTU ;
1028- if ( args . autoDiscoverAll !== true ) {
1028+ if ( args . autoDiscoverAll !== false ) {
10291029 services = ( await this . discoverAll ( { peripheralUUID : connectingUUID } ) ) ?. services ;
10301030 } else if ( args . serviceUUIDs ) {
10311031 services = ( await this . discoverAll ( { peripheralUUID : connectingUUID , serviceUUIDs : args . serviceUUIDs } ) ) ?. services ;
You can’t perform that action at this time.
0 commit comments