jmhdz / currentcostgui

Automatically exported from code.google.com/p/currentcostgui
GNU General Public License v3.0
0 stars 0 forks source link

patch to allow newer firmware reading #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

In newer versions of the firmware, the xml version is higher than 0 and so the 
code
fails.

Here is a example of my output:

<msg><src>CC128-v1.30</src><dsb>00174</dsb><time>03:49:57</time><tmpr>25.7</tmpr
>
<sensor>1</sensor><id>03704</id><type>1</type><ch1><watts>00337</watts></ch1></m
sg>

attached is a small pacth to remove the v0.x  check for a more generic code.

Original issue reported on code.google.com by dmotale...@gmail.com on 28 Jun 2012 at 11:29

Attachments: