OK, finally I have been able to do more tests…
The initial problem that I had was due to the fact that the ethernet module where set to “mixed” rather than server mode. And I have changed the port to 8000. And if I telnet to the GEM, I get the string every 8 seconds. Lots of data…
However, the plugin does not work. If I enable verbose log and look at the log file, I get this:
52 11/03/13 9:12:16.983 0x47 0x45 0x54 0x20 0x65 0x78 0x74 0x65 0x6e 0x73 0x69 0x6f 0x6e 0x5f 0x68 0x65 0x72 0x65 0x2f 0x3f 0x53 0x4e 0x3d 0x30 0x31 0x30 0x30 0x30 0x35 0x39 0x30 0x26 0x53 0x43 0x3d 0x37 0x34 0x37 0x38 0x32 0x31 0x26 0x56 0x3d 0x32 0x32 0x37 0x39 0x26 0x63 0x31 0x3d 0x34 0x31 0x30 0x36 0x38 0x36 0x35 0x34 0x33 0x2c 0x30 0x26 0x63 0x32 0x3d 0x32 0x34 0x39 0x34 0x32 0x32 0x36 0x36 0x35 0x2c 0x30 0x26 0x63 0x33 0x3d 0x31 0x38 0x35 0x37 0x33 0x34 0x37 0x33 0x37 0x2c 0x30 0x26 0x63 0x34 0x3d 0x35 0x34 0x38 0x39 0x38 0x33 0x37 0x36 0x2c 0x30 0x26 0x63 0x35 0x3d 0x31 0x36 0x32 0x33 0x35 0x33 0x2c 0x30 0x26 0x63 0x36 0x3d 0x31 0x31 0x35 0x30 0x37 0x37 0x31 0x2c 0x30 0x26 0x63 0x37 0x3d 0x31 0x39 0x31 0x32 0x36 0x38 0x33 0x30 0x2c 0x30 0x26 0x63 0x38 0x3d 0x33 0x39 0x32 0x37 0x2c 0x30 0x26 0x63 0x39 0x3d 0x35 0x33 0x2c 0x30 0x26 0x63 0x31 0x30 0x3d 0x31 0x34 0x33 0x38 0x32 0x37 0x36 0x2c 0x30 0x26 0x63 0x31 0x31 0x3d 0x31 0x31 0x31 0x33 0x32 0x30 0x30 0x39 0x38 0x2c 0x30 0x26 0x63 0x31 0x32 0x3d 0x35 0x30 0x33 0x38 0x31 0x39 0x30 0x33 0x2c 0x30 0x26 0x63 0x31 0x33 0x3d 0x33 0x32 0x32 0x35 0x30 0x33 0x31 0x2c 0x30 0x26 0x63 0x31 0x34 0x3d 0x31 0x37 0x32 0x37 0x36 0x36 0x36 0x2c 0x30 0x26 0x63 0x31 0x35 0x3d 0x33 0x30 0x39 0x36 0x35 0x32 0x34 0x2c 0x30 0x26 0x63 0x31 0x36 0x3d 0x38 0x38 0x31 0x35 0x39 0x38 0x37 0x34 0x2c 0x30 0x26 0x63 0x31 0x37 0x3d 0x33 0x34 0x32 0x32 0x30 0x38 0x32 0x34 0x2c 0x30 0x26 0x63 0x31 0x38 0x3d 0x31 0x31 0x33 0x32 0x33 0x33 0x39 0x34 0x38 0x2c 0x30 0x26 0x63 0x31 0x39 0x3d 0x33 0x30 0x31 0x33 0x36 0x30 0x2c 0x30 0x26 0x63 0x32 0x30 0x3d 0x31 0x36 0x36 0x30 0x30 0x32 0x33 0x39 0x2c 0x30 0x26 0x63 0x32 0x31 0x3d 0x38 0x32 0x34 0x37 0x36 0x36 0x33 0x2c 0x30 0x26 0x63 0x32 0x32 0x3d 0x35 0x31 0x39 0x32 0x31 0x35 0x32 0x2c 0x30 0x26 0x63 0x32 0x33 0x3d 0x38 0x33 0x31 0x31 0x35 0x39 0x32 0x2c 0x30 0x26 0x63 0x32 0x34 0x3d 0x32 0x30 0x31 0x32 0x36 0x39 0x38 0x35 0x2c 0x30 0x26 0x63 0x32 0x35 0x3d 0x31 0x31 0x39 0x38 0x39 0x36 0x38 0x36 0x2c 0x30 0x26 0x63 0x32 0x36 0x3d 0x31 0x32 0x36 0x38 0x30 0x2c 0x30 0x26 0x63 0x32 0x37 0x3d 0x32 0x31 0x35 0x36 0x2c 0x30 0x26 0x63 0x32 0x38 0x3d 0x32 0x34 0x34 0x39 0x39 0x37 0x2c 0x30 0x26 0x63 0x32 0x39 0x3d 0x37 0x37 0x37 0x32 0x32 0x35 0x36 0x2c 0x30 0x26 0x63 0x33 0x30 0x3d 0x31 0x33 0x34 0x37 0x36 0x35 0x38 0x36 0x36 0x2c 0x30 0x26 0x63 0x33 0x31 0x3d 0x38 0x33 0x30 0x34 0x33 0x32 0x30 0x37 0x2c 0x30 0x26 0x63 0x33 0x32 0x3d 0x35 0x32 0x2c 0x30 0x26 0x50 0x4c 0x3d 0x30 0x2c 0x30 0x2c 0x30 0x2c 0x30 0x26 0x54 0x3d 0x30 0x2c 0x2c 0x2c 0x2c 0x2c 0x2c 0x2c 0x26 0x6b 0x65 0x79 0x3d 0x6b 0x65 0x79 0x31 0x5f 0x68 0x65 0x72 0x65 0x26 0x52 0x65 0x73 0x70 0x3d 0x20 0x48 0x54 0x54 0x50 0x2f 0x31 0x2e 0x31 (GET extension_here/?SN=01000590&SC=747821&V=2279&c1=410686543,0&c2=249422665,0&c3=185734737,0&c4=54898376,0&c5=162353,0&c6=1150771,0&c7=19126830,0&c8=3927,0&c9=53,0&c10=1438276,0&c11=111320098,0&c12=50381903,0&c13=3225031,0&c14=1727666,0&c15=3096524,0&c16=88159874,0&c17=34220824,0&c18=113233948,0&c19=301360,0&c20=16600239,0&c21=8247663,0&c22=5192152,0&c23=8311592,0&c24=20126985,0&c25=11989686,0&c26=12680,0&c27=2156,0&c28=244997,0&c29=7772256,0&c30=134765866,0&c31=83043207,0&c32=52,0&PL=0,0,0,0&T=0,,,,,,,&key=key1_here&Resp= HTTP/1.1) __LEAK__ this:4096 start:765952 to 0x159e000 <0x2e8c2680>
35 11/03/13 9:12:16.984 luup_log:146: Brultech PowerMeter: debug: processIncomingText:: Buffer=GET extension_here/?SN=01000590&SC=747821&V=2279&c1=410686543,0&c2=249422665,0&c3=185734737,0&c4=54898376,0&c5=162353,0&c6=1150771,0&c7=19126830,0&c8=3927,0&c9=53,0&c10=1438276,0&c11=111320098,0&c12=50381903,0&c13=3225031,0&c14=1727666,0&c15=3096524,0&c16=88159874,0&c17=34220824,0&c18=113233948,0&c19=301360,0&c20=16600239,0&c21=8247663,0&c22=5192152,0&c23=8311592,0&c24=20126985,0&c25=11989686,0&c26=12680,0&c27=2156,0&c28=244997,0&c29=7772256,0&c30=134765866,0&c31=83043207,0&c32=52,0&PL=0,0,0,0&T=0,,,,,,,&key=key1_here&Resp= HTTP/1.1, Length=538 <0x2e8c2680>
35 11/03/13 9:12:16.985 luup_log:146: Brultech PowerMeter: debug: Skipping buffer=GET extension_here/?SN=01000590&SC=747821&V=2279&c1=410686543,0&c2=249422665,0&c3=185734737,0&c4=54898376,0&c5=162353,0&c6=1150771,0&c7=19126830,0&c8=3927,0&c9=53,0&c10=1438276,0&c11=111320098,0&c12=50381903,0&c13=3225031,0&c14=1727666,0&c15=3096524,0&c16=88159874,0&c17=34220824,0&c18=113233948,0&c19=301360,0&c20=16600239,0&c21=8247663,0&c22=5192152,0&c23=8311592,0&c24=20126985,0&c25=11989686,0&c26=12680,0&c27=2156,0&c28=244997,0&c29=7772256,0&c30=134765866,0&c31=83043207,0&c32=52,0&PL=0,0,0,0&T=0,,,,,,,&key=key1_here&Resp= HTTP/1.1 <0x2e8c2680>
52 11/03/13 9:12:16.985 0x48 0x6f 0x73 0x74 0x3a 0x20 0x68 0x6f 0x73 0x74 0x5f 0x68 0x65 0x72 0x65 0x2e 0x63 0x6f 0x6d (Host: host_here.com) <0x2e8c2680>
Note the LEAK on the first row. Not sure if this is part of the plugin, or prior the plugin somehow?
Anyway, it is easy to see that the plugin does not like the packet.