mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Add async operations to ble_v2
PiperOrigin-RevId: 472611661
This commit is contained in:
committed by
Copybara-Service
parent
851f5ec0dd
commit
da54ba3422
@@ -71,7 +71,7 @@ static const TxPowerLevel kTxPowerLevel = TxPowerLevel::kHigh;
|
||||
- (void)testStartandStopScanning {
|
||||
Uuid service_uuid(1234, 5678);
|
||||
|
||||
XCTAssertTrue(_ble->StartScanning(service_uuid, kTxPowerLevel, {}));
|
||||
XCTAssertTrue(_ble->StartScanning(service_uuid, kTxPowerLevel, BleMedium::ScanCallback{}));
|
||||
|
||||
[NSThread sleepForTimeInterval:0.1];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user