Samsung Wireless Remote Control/iPhone Protocol Decoded

Ideas and dreaming about C series TV will go this forum.

dperrow
Posts: 2
Joined: Thu Apr 18, 2013 2:25 pm

Re: Samsung Wireless Remote Control/iPhone Protocol Decoded

Post by dperrow »

Okay, found it. It's KEY_CONTENTS
jvottele
Posts: 2
Joined: Mon Jul 01, 2013 9:50 pm

Re: Samsung Wireless Remote Control/iPhone Protocol Decoded

Post by jvottele »

Does anyone know the KEY CODE for opening an app in the Smart Hub? Like YouTube or any other downloaded and installed app?

TIA
Jan
vincen
Posts: 1
Joined: Sat Feb 09, 2013 10:41 am

Re: Samsung Wireless Remote Control/iPhone Protocol Decoded

Post by vincen »

Did someone found a way to keep network active on TV?to be able to power it on through network ?
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Samsung Wireless Remote Control/iPhone Protocol Decoded

Post by arris69 »

jvottele wrote:Does anyone know the KEY CODE for opening an app in the Smart Hub? Like YouTube or any other downloaded and installed app?

TIA
Jan
If my memory serves me right, there is no "keycode" you must request the list of installed ap and than create some kind of soap request...

you can install samsungs "smartview app" and analyze the network traffic.
https://play.google.com/store/apps/deta ... .smartview
or
https://play.google.com/store/apps/deta ... artview.tz

not sure what version is working for you.
dani2134
Posts: 1
Joined: Thu Dec 26, 2013 1:40 pm

Re: Samsung Wireless Remote Control/iPhone Protocol Decoded

Post by dani2134 »

Does anyone have KEY CODE list?
tobarbaro
Posts: 2
Joined: Tue Jan 07, 2014 2:01 am
Location: Central America
Contact:

Re: Samsung Wireless Remote Control/iPhone Protocol Decoded

Post by tobarbaro »

I did all the remote on xcode, i have a doubt: It is a POST or GET way to register the phone on TV?
neo39
Posts: 1
Joined: Sun Mar 09, 2014 9:35 pm

Re: Samsung Wireless Remote Control

Post by neo39 »

How does the Arduino code? I tried putting this code below, but the Smart TV F5500 does nothing after accept controlling for Ardumote:

Code: Select all

/**
 * Based on:
 * http://forum.samygo.tv/viewtopic.php?f=12&t=1792
 *
 * You need the arduino base64 library:
 * https://github.com/adamvr/arduino-base64
 */
 
#include <SPI.h>
#include <Ethernet.h>
#include <Base64.h>
 
byte mac[] = {  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0x00 };
IPAddress server(192,168,1,101);
EthernetClient client;

const   String aparelhoStr[] = {"KEY_1","KEY_2","KEY_3","KEY_4","KEY_5","KEY_6","KEY_7","KEY_8","KEY_9","KEY_0"};
 
void setup() {
  Serial.begin(9600);
  if (Ethernet.begin(mac) == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    while (true) {}
  }
  Serial.println("Ready");
}
 
void loop() {
  if (Serial.available() > 0) {
    char leitura = Serial.read();
    if (leitura == '8')
    {
       char inbuf[100];
                               
       aparelhoStr[8].toCharArray(inbuf, 100);
     
       sendCmd(inbuf);
    }
  }
}
 
void sendCmd(char* cmd) {
  if (client.connect(server, 55000)) {
    uint8_t part1[] = {0,1,0,102,56,0,100,0,12,0,77,84,73,51,76,106,65,117,77,67,52,120,24,0,77,71,85,116,77,71,77,116,77,106,107,116,77,50,85,116,89,106,69,116,78,71,89,61,12,0,81,88,74,107,100,87,49,118,100,71,85,61,0,1,0,102,2,0,200,0,0,1,0,102,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
    char text[100];
    base64_encode(text,cmd,strlen(cmd)-1);
    part1[74+0] = 5+strlen(text);
    part1[74+5] = strlen(text);
    for (int i = 0; i<strlen(text); i++) {
      part1[74+7+i] = text[i];
    }
    client.write(part1,74+7+strlen(text));
    client.stop();
  }
}
tombombadil1988
Posts: 6
Joined: Fri Oct 11, 2013 1:31 pm

Re: Samsung Wireless Remote Control/iPhone Protocol Decoded

Post by tombombadil1988 »

Has someone figured out if the protocol still works on 2014 H-Series TVs? The 55000 port is blocked on those
julieh111
Posts: 3
Joined: Thu Jan 21, 2016 8:03 am
Location: United States
Contact:

Re: Samsung Wireless Remote Control/iPhone Protocol Decoded

Post by julieh111 »

Hi, thank you for your article, it was really helpful for me.

I made a little C++ Qt library and a test QWidget to control the TV.
It basically allows you to:
? open the TCP socket
? send the ID packet
? send strings as payloads.
I can send it to you if you think it could be usefull.

Post Reply

Return to “[C] Brainstorm”