I'm seeing an issue with the order of things when trying to discover services. I've got the following code:
self.bluetoothDeviceManager = [WLXBluetoothDeviceManager deviceManager];
NSObject<WLXDeviceDiscoverer> *discoverer = self.bluetoothDeviceManager.discoverer;
discoverer.delegate = self;
[discoverer discoverDevicesNamed:@"MyServiceName" withServices:nil andTimeout:10];
The delegate callbacks are not happening; the discoverDevicesNamed:withServices:andTimeout call is returning NO since bluetoothOn is no at the time of the call. It gets set to YES shortly after the call (by WLXCentralManagerDelegate).
Is this not the recommended way of starting discovery?
I'm seeing an issue with the order of things when trying to discover services. I've got the following code:
The delegate callbacks are not happening; the discoverDevicesNamed:withServices:andTimeout call is returning NO since bluetoothOn is no at the time of the call. It gets set to YES shortly after the call (by WLXCentralManagerDelegate).
Is this not the recommended way of starting discovery?