Hi Scott,

I digged a bit since this morning, and actually achieved to get the
identity :

in libconcord.cpp : by modifying the CRemoteMH::GetIdentity like this :

    const uint8_t msg_one[MH_MAX_PACKET_SIZE] =
        { 0xFF, 0x00, 0x00, 0x01, 0x01 };
    const uint8_t msg_two[MH_MAX_PACKET_SIZE] =
        { 0xFF, 0xFF, 0x01, 0x01, 0x01, 0x66 };
    const uint8_t msg_three[MH_MAX_PACKET_SIZE] =
        { 0xFF, 0x00, 0x02 };
    const uint8_t msg_four[MH_MAX_PACKET_SIZE] =
        { 0xFF, 0x01, 0x03, 0x02, 0x80, '/', 's', 'y', 's', '/',
          's', 'y', 's', 'i', 'n', 'f', 'o', 0x00, 0x80, 'R', 0x00 };

    const uint8_t msg_five[MH_MAX_PACKET_SIZE] =
        { 0xFF, 0x04, 0x04, 0x02, 0x01, 0x00, 0x01, 0x06 };

/* was previoulsy :
    const uint8_t msg_five[MH_MAX_PACKET_SIZE] =
        { 0xFF, 0x04, 0x04, 0x02, 0x01, 0x06, 0x01, 0x06 };
*/

    const uint8_t msg_six[MH_MAX_PACKET_SIZE] =
        { 0xFF, 0x07, 0x05, 0x01, 0x01, 0x00 };

/* was previoulsy :
    const uint8_t msg_six[MH_MAX_PACKET_SIZE] =
        { 0xFF, 0x07, 0x05, 0x01, 0x01, 0x06 };
*/

I guess we need to create a new class or do something a bit more clean ;)

in remote_info.h :
[...]

// 90
    { MFG_UNK,    "Unknown",            NULL },
    { MFG_UNK,    "Unknown",            NULL },
    { MFG_UNK,    "Unknown",            NULL },
    { MFG_UNK,    "Unknown",            NULL },
    { MFG_UNK,    "Unknown",            NULL },
    { MFG_UNK,    "Unknown",            NULL },
    { MFG_UNK,    "Unknown",            NULL },
    { MFG_UNK,    "Unknown",            NULL },
    { MFG_HAR,    "Harmony Touch",        NULL }

[...]

    /* arch 17: Touch */
    {
        0,                // serial_location
        0,                // serial_address
        0,                // flash_base
        0,                // firmware_base
        0,                // config_base
        0,                // firmware_update_base
        0,                // firmware_4847_offset
        0x1, /* hack to make config test pass */    // cookie
        0,                // cookie_size
        0,                // end_vector
        "",                // micro
        0,                // flash_size
        0,                // ram_size
        0,                // eeprom_size
        "",                // usb
    }

Now, I get this :-D
  Model: Logitech Harmony Touch
  Skin: 99
  Firmware Version: 3.4
  Firmware Type: 0
  Hardware Version: 1.0.0
  External Flash: 512 KiB - FF:12 25F040
  Architecture: 17
  Protocol: 9
  Manufacturer: Logitech
  Product: Harmony Remote
  IRL, ORL, FRL: 64, 64, 0
  USB VID: 046D
  USB PID: C12B
  USB Ver: 1099
  Serial Number: (null)
    (null)
    (null)
  Flash Used: 0 / 1  Config Flash Used: 99% (0 of 1 KiB)

Not perfect yet, but a good start ;)

I will send you directly the Wireshark capture.

Regards,
Cedric



2013/12/11 Scott Talbert <s...@techie.net>

> On Wed, 11 Dec 2013, Cédric de Launois wrote:
>
>  Hi there,
>>
>> Is there any plan to support the new Harmony Touch ?
>> I tried to connect using concordance -i but it fails.
>>
>
> Yes, of course we plan to support it, but no one had (yet) stopped by who
> owns one.
>
>
>  I also have a dump of the USB traffic between the official Logitech
>> Harmony
>> software and the remote :-D (captured using wireshark).
>> I can provide it if you want, but here is the excerpt :
>>
>> The command data sent (6 times ?!) seems to be (64 bytes) :
>> ff:00:00:01:01:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
>> 00:00:00:00:00:
>> 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
>> 00:00:00:00:00:
>> 00:00:00:00:00:00:00:00:00:00:00:00:00:00
>>
>> Next a response from the Remote :
>> ff:ff:81:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
>> 00:00:00:00:00:
>> 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:
>> 00:00:00:00:00:
>> 00:00:00:00:00:00:00:00:00:00:00:00:00:00
>>
>
> Awesome!  That's the MH protocol.  I should be able to send a patch later
> which should in theory add support.  Also, could you send the full
> Wireshark capture?  You can send it directly to me, or send me a link if
> you don't want to post it on the mailing list.
>
> Thanks,
> Scott
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> concordance-devel mailing list
> concordance-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/concordance-devel
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to