Search code examples
iphoneiosupnptelevisionsamsung-smart-tv

Connection between Samsung Smart TV and iOS app


I got a Samsung Smart TV UE40D8000 (Apparently from 2011 series ?) and an iOS device. I'd like to make them both exchange information (most likely small chunks of text), via a dedicated app on both sides;

Now, it turns out the best way would be to use the Convergence API : I've built a basic TV App that looks an awefull lot like the sample code they give, and an iOS App for UPnP discovery and sending POST requests onto the TV. UPnP discovery works great.

But on the actual device, I can't seem to be able to manage to connect : the requests to /ws/app/{appID}/connect fail (with an actual appID of course) as if there would be no server.

  • Is the Convergence API available for my TV ? (there does not seem to have a compatibility list anywhere) Is there a way to upgrade to a 2012 platform if it is indeed a 2011 one ?
  • Can we test that API on a simulator ? My simulator runs under Windows 7 in a VM on my Mac (there is not Mac version of their dev tools...)
  • Is there really anything I can do to have a more precise diagnostic ? like logs from the appilcation running on the TV ?

Thanks


Solution

  • Finishing answering my own question: like @Dobiatowski mentions, I'm screwed for Convergence API and 2012 platform The Interactive API's documentation is not clear, and virtually non-fonctionnal despite 3 days of my best effort. Half of the sentence in the documentation don't actually make sense.

    Still did not manage to make the interactivity simulator to work, Looks like it's not possible on Win7

    Basic answer is : not possible