I do need to get a larger job to work on yes but I don't usually download this format and there isn't much work on right now. You say nothing is encrypted but tell me where the numbers 0.06 and >99.99 are. They should be attached to D7785 and D7786. I'm assuming the long string yo have highlighted below is a series of 'switches' to identify which tests were performed.

The 'H' doesn't seem to refer to anything in particular, I will need to try out different combinations of tests to determine that. The date of the test was 3rd June 2014, someone else identified where that was stored in an earlier reply.

A third party software company took 8 YEARS to figure this out so although it may not be encryption in the traditional sense some sort of effort to mask the results is at play here.

On 25/11/14 08:01, Paul Sladen wrote:
On Mon, 24 Nov 2014, Gareth France wrote:
Sounds good. The tricky bit is they seem to have encrypted the results

There doesn't appear to be anything encrypted.

What's there *is*, is simply short-hand, much aking to how a human
would write down on paper (ticks and crosses) when doing the tests the
old fashioned way.  To echo the other poster, all that's needed is to
work through and find out what test each 1/0 corresponds to.  The
sample size in this 'SSS' file isn't enough, it's only 12 tests, and
10 of those are identical:

   strings -a SSS  | grep 111 | sort | uniq -c
       1 H172008021S121111111
       1 H1C2008021S121111111
      10 I010000022S121111111

The two 'H' entries are the fridge and washing machine. so I'm
guessing this might be a manually-entered category (eg. House-hold
appliance/Class I/Earthed); the rest are resistive heaters of various
descriptions (Hard-wired?).  "2008" could be a year of test---and
"0000" could be unknown.  0/1/2 probably correspond to
unknown/pass/fail in some combination---you'll know what was entered!

The key here, is that yourself, as the owner of the machine has nearly
complete control over the physical inputs to the machine, by choosing
menu items, scanning barcodes, entering asset IDs, which probe is used
and which pins are shorted with what resistance. The two records for
the domestic appliances have slightly longer entries, suggesting
additional tests were performed/selected.

All one needs to do is to work though all the combinations, changing
only one menu item at once, and with ~100 samples matched up with
notes of what was selected on the menu, it should be little trouble to
match them up.

It's not a problem of reverse-engineering (easy in this case as the
file format is really simple).  The problem is having the
domain-specific knowledge of what values the machine is able to
output.  This is where you can help:

   1. Larger sample-sizes of '.sss'
   2. The corresponding notes about what was measured/entered.

Attached is some Python that decodes everything except the Washing
Machine and Fridge.

        -Paul






--
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to