My connection string is different than yours :
Code: Select all
0042 00 14 00 69 70 68 6f 6e 65 2e 2e 69 61 70 .....iphone..iap
0050 70 2e 73 61 6d 73 75 6e 67 40 00 64 00 10 00 4d p.samsung@.d...M
0060 54 63 79 4c 6a 45 33 4c 6a 45 77 4c 6a 63 3d 18 TcyLjE3LjEwLjc=.
The 2 dots don't change anything on my units, but you are correct, so I made the change.
Modified Connect :
Code: Select all
string sMsg = "\x0064\x0000"
+ FormatString(MyIP, true)
+ FormatString(MyMAC, true)
+ FormatString(System.Environment.MachineName, true);
SendMsg(socket, "\x0000"
+ FormatString("iphone..iapp.samsung", false)
+ FormatString(sMsg, false));
Code: Select all
string sMsg = "\x0000\x0000\x0000"+FormatString(sKey, true);
return SendMsg(socket, "\x0000"
+ FormatString("iphone.iapp.samsung", false)
+ FormatString(sMsg, false));
http://dl.free.fr/kxJ4OnmcM
Can you please confirm that it works on your unit ?
Thanks for your suggestions !