Discovered devices are not updating after TV / Wi-Fi is toggled Off and back On
sivaprasadkv opened this issue · comments
Launch iOS ConnectSDK Sampler app with wifi connection, all the available devices are listed on picker view. There are 2 scenarios as follows:
Scenario-1: Power off the TV or turn off Wi-Fi, listed devices are not refreshing based on the connectivity in between TV & app.
Scenario-2: Connect to the listed device, iOS app allows to do all the controls like display photos, remote control actions etc. Now power off the TV or turn off Wi-Fi, still app is allowing to do all actions. App should navigate back to disconnected screen.
In both scenarios, ConnectSDK listeners / delegate methods are not getting called to refresh the app.
Issue: ConnectSDK delegate methods are not firing actively upon disconnection of device or loosing the device connectivity with TV. I observed few times it is calling didLoseDevice delegate method upon powering off TV.
- (void)discoveryManager:(DiscoveryManager *)manager didLoseDevice:(ConnectableDevice *)device
Please confirm that the ConnectableDeviceDelegate method (below one) is getting called while already connected device get lost the connectivity:
- (void) connectableDeviceDisconnected:(ConnectableDevice *)device withError:(NSError *)error
Attached the screenshots of the issue. Please have a look.
Tested with latest iOS connectSDK Sampler app with:
iOS SDK - 15.2.1,
Device - iPhone XS Max.
Kindly fix this issue. Thanks.
Hi @sivaprasadkv
I need help for sending Pairing Code to Connectable device, I have code but device not show any pairing code
self.connectedDevice = obj self.connectedDevice?.delegate = self self.connectedDevice?.setPairingType(DeviceServicePairingTypeMixed) self.connectedDevice?.connect()
Try with pairingType DeviceServicePairingTypeMixed, DeviceServicePairingTypePinCode and DeviceServicePairingTypeFirstScreen but no luck
Can you please help if possible