[Tiptoi] oid code structure

Tobias Bäumer to_b at gmx.de
Fr Aug 5 13:06:16 CEST 2016


Die Prüfziffer-Berechnung für den Ting-Stift haben wir aus dem Mikrocontroller-Forum.
Mir ist dann aufgefallen, dass die für den TipToi immer genau das Gegenteil ist.
Das bewirkt übrigens, dass die Systeme untereinander inkompatibel sind.
Die Berechnung mag auch einfacher gehen, aber ich habe einfach die Formel vom Ting genommen. Dann noch XOR mit 1 und die Ziffer passt.
Die Prüfziffer springt - das sieht man schön, wenn man mehrere Werte der Reihe nach durchgeht.
Ich könnte den Decoder mal umbauen, damit die echten Werte angezeigt werden - dafür müsste ich das Mapping mal in JavaScript packen.
Besteht da Interesse?


Am 4. August 2016 14:03:33 MESZ, schrieb St_Germain at web.de:
>Hallo Zusammen,
>
> 
>
>my english is terribale: so follow me in german..
>
> 
>
>Ich verstehe das XOR und ADD nicht... 
>
>Aber kann es eine einfache "Quersumme" oder ein "Mod 2" sein?
>
> 
>
>Im Wikipedia habe ich noch gefunden:
>
>Ist das Paritätsbit immer 1, dann spricht man von einer Mark-Parität
>(es enthält keine Information); ist es immer 0, spricht man von
>Space-Parität (es stellt einen Leerraum dar).
>
> 
>
>Hat das Paritätsbit immer einen anderen Zustand in den Grafiken?
>
> 
>
>St_germain (Ingo)
>
>Gesendet: Donnerstag, 04. August 2016 um 13:28 Uhr
>Von: "Ulrich Sibiller" <ulrich.sibiller at gmail.com>
>An: "Die Mailingliste für Tiptoi-Bastler" <tiptoi at lists.nomeata.de>
>Betreff: Re: [Tiptoi] oid code structure
>
>On Thu, Aug 4, 2016 at 12:57 PM, Yim Taka <haqmedia at hotmail.com> wrote:
>> I am developing some software to help create the codes and overlay
>ontop of
>> graphics but i am having trouble understanding how the codes are
>generated.
>> When i zoom in onto the dots in the file 'oid-table.png' inside the
>> tttool-win32-1.6.1 folder the codes do not match those generated by
>the
>> oid-decoder.html. Does anyone have any information on how the codes
>are
>> generated? I understand the top row of 4 dots is alignment and the
>left row
>> is also aligment and the 3x3 grid left is the data, but how is this
>data
>> converted to an oid value?
>
>There's a document in the docs directory of the git repo explaining
>that:
>https://github.com/entropia/tip-toi-reveng/blob/master/docs/The_Code.pdf
>
>Please note: the number you get out of there is not the number the pen
>reports, there's a mapping table inside tttool for that (should be
>https://github.com/entropia/tip-toi-reveng/blob/master/src/KnownCodes.hs).
>
>Uli
>
>--
>tiptoi mailing list
>tiptoi at lists.nomeata.de
>https://lists.nomeata.de/mailman/listinfo/tiptoi
>
>
>
>------------------------------------------------------------------------
>
>-- 
>tiptoi mailing list
>tiptoi at lists.nomeata.de
>https://lists.nomeata.de/mailman/listinfo/tiptoi
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://lists.nomeata.de/pipermail/tiptoi/attachments/20160805/f18a6339/attachment.htm>


Mehr Informationen über die Mailingliste tiptoi