DTM database

From OESF

(Difference between revisions)
Jump to: navigation, search
m
Current revision (04:37, 21 October 2007) (edit) (undo)
m (Undo revision 10360 by 90.152.8.69 (Talk) Remove gibberish)
 

(19 intermediate revisions not shown.)

Line 1:

Line 1:

-
[http://cazzo.goxasi.info/ Cazzo] [http://videoincestuosi.flowake.info/ Video incestuosi] [http://interhome.gittose.info/ Interhome] [http://sexytoons.ipnerka.info/ Sexy toons] [http://tatuaggiodelfino.hequila.info/ Tatuaggio delfino] [http://casinoonline.goxasi.info/ Casino online slot macchina] [http://adeccoit.hyndres.info/ Adecco it] [http://prestitopesaro.hyndres.info/ prestito pesaro] [http://autoricambi.grekles.info/ Autoricambi renault] [http://testdivertenti.hequila.info/ Test divertenti] [http://stokkevariable.hequila.info/ Stokke variable] [http://ventaglio.hyndres.info/ Ventaglio] [http://ombrellonida.hunchoxi.info/ Ombrelloni da giardino] [http://missoni.gittose.info/ Missoni] [http://aixam400sicilia.hyndres.info/ Aixam 400 sicilia] [http://unopiuit.flowake.info/ Unopiu it] [http://schedagsmper.ipnerka.info/ Scheda gsm per palmare] [http://passitodipantelleria.hunchoxi.info/ Passito di pantelleria] [http://riassunto.ipnerka.info/ Riassunto promessi sposi] [http://smsbuffi.ipnerka.info/ Sms buffi] [http://segnaposti.ipnerka.info/ Segnaposti carta] [http://melitaalucignolo.gittose.info/ Melita a lucignolo] [http://temisvoltirazzismo.hequila.info/ Temi svolti razzismo] [http://fitav.gerbinu.info/ Fitav] [http://troieafricane.flowake.info/ Troie africane] [http://linkssanpaolo.gittose.info/ Links sanpaolo] [http://youpornocom.hyndres.info/ Youporno com] [http://inculateanimali.hpirale.info/ Inculate animali] [http://cambiare.goxasi.info/ Cambiare password di msn messenger] [http://suniaveneto.hequila.info/ Sunia veneto] [http://borsadonna.goxasi.info/ Borsa donna] [http://venereemarte.flowake.info/ Venere e marte botticelli] [http://vestibratz.hyndres.info/ Vesti bratz] [http://anteprimetroiette.grekles.info/ Anteprime troiette] [http://brucespringsteen.goxasi.info/ Bruce springsteen devils and dust] [http://londraalbergo.gittose.info/ Londra albergo] [http://wwwmaniaporno.hyndres.info/ Www mania porno it] [http://figagrasse.gerbinu.info/ Figa grasse] [http://pornolive.hunchoxi.info/ Porno live] [http://austriaristorante.grekles.info/ Austria ristorante] [http://fetishsex.gerbinu.info/ Fetish sex] [http://pornostarfamose.hunchoxi.info/ Pornostar famose foto gratis] [http://coldirettifoggia.goxasi.info/ Coldiretti foggia] [http://rimjob.ipnerka.info/ Rimjob] [http://hentaibulma.hpirale.info/ Hentai bulma] [http://altroconsumo.grekles.info/ Altroconsumo com] [http://ibcimitalia.hpirale.info/ Ib cim italia it bpb] [http://fotocamerafujifilm.hpirale.info/ Fotocamera fujifilm] [http://ufficiostampa.hequila.info/ Ufficio stampa pubblica relazione] [http://sediaergonomica.ipnerka.info/ Sedia ergonomica roma] [http://filmsexigratis.gerbinu.info/ Film sexi gratis] [http://dolcedisegno.gerbinu.info/ Dolce disegno pasqua] [http://rapportoanali.ipnerka.info/ Rapporto anali] [http://aziendasmaltimento.grekles.info/ Azienda smaltimento rifiuto amianto] [http://dolomitivacanza.gerbinu.info/ Dolomiti vacanza] [http://solofighepelose.hequila.info/ Solo fighe pelose gratis] [http://scacchionline.ipnerka.info/ Scacchi online gratis] [http://programmascaricare.hunchoxi.info/ Programma scaricare film dvd] [http://jadehsu3scenes.gittose.info/ Jade hsu 3 scenes] [http://gioiadelcolle.hpirale.info/ Gioia del colle] [http://cartonisexy.goxasi.info/ Cartoni sexy] [http://cradleoffilth.goxasi.info/ Cradle of filth] [http://corsocomunicazione.goxasi.info/ Corso comunicazione pnl ipnosi] [http://albergoimola.grekles.info/ Albergo imola] [http://identikit.hpirale.info/ Identikit] [http://roatanfotogallery.ipnerka.info/ Roatan fotogallery] [http://chiocciola.goxasi.info/ Chiocciola] [http://verdenatabs.hyndres.info/ Verdena tabs] [http://merluzzo.gittose.info/ Merluzzo] [http://sexgranny.ipnerka.info/ Sex granny] [http://francoforte.hpirale.info/ Francoforte ristorante] [http://forumfotoamatoriali.gerbinu.info/ Forum foto amatoriali] [http://incontrisentimentali.hpirale.info/ Incontri sentimentali] [http://albergoartesina.grekles.info/ Albergo artesina] [http://donnenudeciccione.gerbinu.info/ Donne nude ciccione] [http://cucineclassiche.hyndres.info/ cucine classiche legno] [http://cassandra.goxasi.info/ Cassandra lynn] [http://toscanarelax.hequila.info/ Toscana relax campagna] [http://casettalegno.goxasi.info/ Casetta legno pircher] [http://viaggiotesina.flowake.info/ Viaggio tesina] [http://calcolopensione.goxasi.info/ Calcolo pensione segretario comunale] [http://babelfishaltavista.grekles.info/ Babelfish altavista com tr] [http://sabrinasalerno.ipnerka.info/ Sabrina salerno foto] [http://fotostefano.hpirale.info/ Foto stefano bettarini] [http://etnapolislavoro.gerbinu.info/ Etnapolis lavoro] [http://viennahotel.hyndres.info/ Vienna hotel] [http://bigliettoinvito.goxasi.info/ Biglietto invito] [http://venditaconsumabile.flowake.info/ Vendita consumabile] [http://pescasportiva.hunchoxi.info/ Pesca sportiva] [http://asteimmobiliare.grekles.info/ Aste immobiliare giudiziaria] [http://videopornoanteprime.hyndres.info/ Videoporno anteprime gratis] [http://chatt.goxasi.info/ Chatt] [http://motociclismo.gittose.info/ Motociclismo it] [http://usatarenault.flowake.info/ Usata renault] [http://atiradeon.grekles.info/ Ati radeon] [http://gratisantivirus.hpirale.info/ Gratis antivirus] [http://videopornomature.flowake.info/ Video pornomature gratis] [http://piumino.hunchoxi.info/ Piumino] [http://venditamicrospia.flowake.info/ Vendita microspia digitale] [http://amerie.grekles.info/ Amerie] [http://hilarykallin.ifrance.com/lib/accessori-in/ accessori in pelle] [http://chrisinpm.ifrance.com/view/videochiamata.htm videochiamata] [http://bfudlmint.ifrance.com/small/moduli-ram/ moduli ram ddr] [http://punkking157.ifrance.com/description/pocketnotepad/ pocketnotepad] [http://xxiunicorn.ifrance.com/styles/athlon-.htm athlon 64 mobile] [http://ohnosweeney.ifrance.com/misunderstoood/ misunderstoood] [http://otezdimitriy.ifrance.com/description/mp-e/ mp3 e autoradio] [http://yourstarfish.ifrance.com/regolamento-e/ regolamento e sanzioni vetture pubbliche] [http://melok.ifrance.com/library/dvp-philips.htm dvp320 philips] [http://tangent10000.ifrance.com/content/elefant/ elefant] [http://leshji.ifrance.com/topic/www-webasto/ www webasto com] [http://jeremyscheidel.ifrance.com/topic/los-angeles/ los angeles attorney] [http://tallie123.ifrance.com/articles/body-verde.htm body verde] [http://teachersarah.ifrance.com/web/il-castello/ il castello dei gatti] [http://yourstarfish.ifrance.com/verona-lamezia/ verona lamezia terme biglietti aerei] [http://anga12.ifrance.com/library/utility-gestione.htm utility gestione sistema] [http://jeremyscheidel.ifrance.com/topic/too-bad/ too bad] [http://teachersarah.ifrance.com/web/batteria-d/ batteria 350d] [http://erinb0t.ifrance.com/articles/nife.htm nife] [http://erinb0t.ifrance.com/articles/temi-di.htm temi di maturita] [http://hilarykallin.ifrance.com/lib/love-story/ love story a bangkok] [http://gekijuls.ifrance.com/resources/www-cerca.htm www cerca con arianna] [http://melok.ifrance.com/library/casa-veneto.htm casa veneto] [http://acantharia.ifrance.com/topic/easyshare-ls/ easyshare ls753] [http://ohnosweeney.ifrance.com/brigitta-kocsis/ brigitta kocsis] [http://phoenixofeuropa.ifrance.com/new/heliopora.htm heliopora] [http://yourstarfish.ifrance.com/all-tel/ all tel divx] [http://punkking157.ifrance.com/description/foot-jobs/ foot jobs] [http://tangent10000.ifrance.com/content/mailbox-verifier/ mailbox verifier] [http://teachersarah.ifrance.com/web/soraya/ soraya] [http://acantharia.ifrance.com/topic/daisy-dukes/ daisy dukes] [http://chrisinpm.ifrance.com/view/la-canzone.htm la canzone del bosco] [http://albumina.ifrance.com/new/fotocopiatrice-stampante.htm fotocopiatrice stampante formato a3] [http://yourstarfish.ifrance.com/mandello-al/ mandello al lario] [http://otezdimitriy.ifrance.com/description/papa-nero/ papa nero] [http://punkking157.ifrance.com/description/cool-skin/ cool skin] [http://jeremyscheidel.ifrance.com/topic/gioco-cinese/ gioco cinese] [http://anga12.ifrance.com/library/piedi-famosi.htm piedi famosi immagini] [http://ohnosweeney.ifrance.com/the-first/ the first on the moon] [http://yourstarfish.ifrance.com/dvd-cam/ dvd cam hitachi videocamere] [http://bfudlmint.ifrance.com/small/maajong/ maajong] [http://gekijuls.ifrance.com/resources/www-negro.htm www negro gay video hard com] [http://hilarykallin.ifrance.com/lib/supereroi/ supereroi] [http://otezdimitriy.ifrance.com/description/megabook-s/ megabook s260] [http://phoenixofeuropa.ifrance.com/new/moto-storica.htm moto storica garelli] [http://mmmyriama.ifrance.com/topic/bowmen.htm bowmen] [http://anga12.ifrance.com/library/arte-amare.htm arte amare] [http://deviantru.ifrance.com/view/km-peugeot.htm km0 peugeot diesel auto km 0] [http://xxiunicorn.ifrance.com/styles/joyce.htm joyce] [http://prettypinkdaisy.ifrance.com/lib/romeo-just/ romeo just away] [http://xxiunicorn.ifrance.com/styles/immagini-ragazze.htm immagini ragazze] [http://punkking157.ifrance.com/description/steel-reign/ steel reign] [http://mommamal.ifrance.com/articles/dual-layer/ dual layer esterno] [http://prettypinkdaisy.ifrance.com/lib/bertran-de/ bertran de born] [http://tangent10000.ifrance.com/content/giochi-it/ giochi it] [http://phoenixofeuropa.ifrance.com/new/elenco-distributori.htm elenco distributori di energia] [http://tangent10000.ifrance.com/content/plextor-x/ plextor 52x] [http://gekijuls.ifrance.com/resources/napoli-midi.htm napoli midi pdf] [http://bfudlmint.ifrance.com/small/vp/ vp 6311] [http://hilarykallin.ifrance.com/lib/immagini-sulla/ immagini sulla guerra in iraq] [http://erinb0t.ifrance.com/articles/portogallo-vacanze.htm portogallo vacanze] [http://deviantru.ifrance.com/view/sasso-roma.htm sasso (roma)] [http://yourstarfish.ifrance.com/sesso-sesso/ sesso sesso sesso] [http://prettypinkdaisy.ifrance.com/lib/nuova-volvo/ nuova volvo diesel auto nuove] [http://melok.ifrance.com/library/intel-dual.htm intel dual] [http://punkking157.ifrance.com/description/mondial-ferrari/ mondial ferrari] [http://bfudlmint.ifrance.com/small/testo-there/ testo there are you ll be faith hill] [http://melok.ifrance.com/library/augurio-buon.htm augurio buon compleanno] [http://bfudlmint.ifrance.com/small/zorritas/ zorritas] [http://gekijuls.ifrance.com/resources/mercedes-sw.htm mercedes sw classe e] [http://mmmyriama.ifrance.com/topic/la-bella.htm la bella addormentata danza] [http://teachersarah.ifrance.com/web/symantec-norton/ symantec norton antivirus 2005 ita] [http://punkking157.ifrance.com/description/nicole-kidman/ nicole kidman] [http://erinb0t.ifrance.com/articles/colin-mcrae.htm colin mcrae rally 4] [http://melok.ifrance.com/library/volkswagen-golf.htm volkswagen golf 14] [http://gekijuls.ifrance.com/resources/film-eva.htm film eva henger] [http://mmmyriama.ifrance.com/topic/ossession.htm ossession] [http://punkking157.ifrance.com/description/pump-ti/ pump ti up] [http://chrisinpm.ifrance.com/view/traduzione-italiano.htm traduzione italiano eamon] [http://gekijuls.ifrance.com/resources/ding-ding.htm ding ding dong] [http://gekijuls.ifrance.com/resources/hard-disk.htm hard disk eide 300 gb] [http://gekijuls.ifrance.com/resources/i-cacciatori.htm i cacciatori di saigon] [http://phoenixofeuropa.ifrance.com/new/ati-radeon.htm ati radeon sapphire x800 256 mb ddr] [http://anga12.ifrance.com/library/iraq-nepal.htm iraq nepal hostages] [http://punkking157.ifrance.com/description/sl/ sl 1210] [http://mommamal.ifrance.com/articles/grupo-mania/ grupo mania] [http://teachersarah.ifrance.com/web/hub-usb/ hub usb autoalimentato] [http://leshji.ifrance.com/topic/le-tre/ le tre sorelle] [http://yourstarfish.ifrance.com/happy-tree/ happy tree friend] [http://tangent10000.ifrance.com/content/russian-women/ russian women] [http://xxiunicorn.ifrance.com/styles/roma-londra.htm roma londra] [http://erinb0t.ifrance.com/articles/mp-plugin.htm mp3 plugin] [http://ohnosweeney.ifrance.com/renault-twingo/ renault twingo 12 spring] [http://jeremyscheidel.ifrance.com/topic/filatura/ filatura] [http://mommamal.ifrance.com/articles/video-hard/ video hard gratuiti] [http://leshji.ifrance.com/topic/mp-con/ mp3 con usb] [http://gekijuls.ifrance.com/resources/nome-barbara.htm nome barbara] [http://deviantru.ifrance.com/view/i-temerari.htm i temerari] [http://tangent10000.ifrance.com/content/hamilton/ hamilton] [http://ohnosweeney.ifrance.com/cartina-toscana/ cartina toscana] '''DTM HowTo:'''
+
'''DTM HowTo:'''
original by: [mailto:skremer@uoguelph.ca Dr. Stefan C. Kremer]
original by: [mailto:skremer@uoguelph.ca Dr. Stefan C. Kremer]

Line 19:

Line 19:

2.'''The specs and header files for the DTM access'''
2.'''The specs and header files for the DTM access'''
*The files you need are here
*The files you need are here
-
*[http://www.zaurususergroup.org/UpDownload index-req-getit-lid-197.phtml dtm.zip]
+
*[http://www.zaurususergroup.org/UpDownload+index-req-getit-lid-197.phtml dtm.zip]
-
*[http://www.zaurususergroup.org/UpDownload index-req-getit-lid-198.phtml headers.zip]
+
*[http://www.zaurususergroup.org/UpDownload+index-req-getit-lid-198.phtml headers.zip]
The headers and library are in the development image you can found on the ELSI for development on the Zaurus.
The headers and library are in the development image you can found on the ELSI for development on the Zaurus.

Line 38:

Line 38:

==Potential Problems/Gotchas==
==Potential Problems/Gotchas==
-
#header files aren't ansi-C. The header files are C compliant, but not ansi-C, so I ended up using the g compiler to avoid a slew of warning messages. I think it should be possible to translate the C files into ansi for greater compatibility.
+
#header files aren't ansi-C. The header files are C++ compliant, but not ansi-C, so I ended up using the g++ compiler to avoid a slew of warning messages. I think it should be possible to translate the C++ files into ansi for greater compatibility.
#no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
#no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
#unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.
#unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.

Line 49:

Line 49:

#Make sure you have the source code for the test program in the current directory.
#Make sure you have the source code for the test program in the current directory.
#Compile:
#Compile:
-
##arm-linux-g -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
+
##arm-linux-g++ -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
-
##arm-linux-g -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
+
##arm-linux-g++ -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
#Transfer to Zaurus:
#Transfer to Zaurus:
*scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump
*scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump

Current revision

DTM HowTo:

original by: Dr. Stefan C. Kremer

Note: Dr. Kremer expresses the wish to no longer been contacted directly about any issues with the DTM database and programming. I received from him all the documents he has, he no longer develops for the Zaurus. As soon as I have a hint on how to transfer these documents on this site, I will update the page and put all the links to the documents. In the mean time, you may contact me: Daniel Savard

This document describes how to write code that interfaces with DTM (the PIM storage format)

The DTM is a simple database that runs on the Zaurus SL-5600 (and the v3.10 ROM for the SL-5500) and the SL-6000 (probably also on all Zaurii newer than the SL-5600). The new PIM applications use DTM for all data storage where the old PIM applications used XML files. DTM is faster, XML is easier to interface with other code (until now).

Contents

What you need to develop on the desktop:

1.Development tools

  • need to set up your complier as described here
  • probably don't really need qpe if you are not writing code with a GUI
  • don't need qvfp

2.The specs and header files for the DTM access

The headers and library are in the development image you can found on the ELSI for development on the Zaurus.

I haven't yet figure-out how to upload documents which are not images or sound files on this site for the benefit of everyone. I have two PDF documents on the DTM and PIM specifications I wish to make available here. E-mail me if you know how to upload them here (Daniel Savard).

3.libzdtm.so

  • This is the actual shared library that you need to link against. It is found on the Zaurus in the /home/!QtPalmtop/lib/ directory. It needs to be moved to /opt/Qtopia/sharp/lib/ for cross compiling.

4.Example program

What is in headers.zip

headers.zip has the header files for the libzdtml.so library. I copied these into my working directory for compiling, but they should probably be put somewhere sensible in the /opt file structure. These are critical since they spell out some details that are not clear from DTMSpecifications.pdf. For example that all the functions are preceded by underscore. And more info about the data types.

Potential Problems/Gotchas

  1. header files aren't ansi-C. The header files are C++ compliant, but not ansi-C, so I ended up using the g++ compiler to avoid a slew of warning messages. I think it should be possible to translate the C++ files into ansi for greater compatibility.
  2. no emulation. Since the only source for libzdtm.so is from the Zaurus itself and not a compiled library, it is not possible to emulate sofware on a PC architecture using qvfp or anything else. You can compile on your x86, but you'll have to move it to the Zaurus to actually make it run. I found that having the Zaurus on the network running sshd was critical to working effectively. I also put my ssh key on the Zaurus, so i wouldn't have to supply a password all the time. Then, I added an "install" directive to my makefile so that i could easily compile and copy over to code. I would run it in a seperate window on my desktop connected (again via ssh) to the Zaurus. This is the only way I could work efficiently. It would be really great if sharp released the source for DTM or at least an x86 compiled library.
  3. unsigned char *. The header files define most strings as unsigned chars which is goofy. In particular, this is incompatible with all the standard string libraries on the Zaurus. As a consequence I had to do a lot of casting from (char *) to (unsigned char *) and back in order to get the compiler to quiet down.
  4. Not without qte. The libzdtm.so requires libqte.so.2. I'm not sure why, it just does.

Running the Test Program

  1. BACKUP YOUR MACHINE This code has only been tested on one single Zaurus. Although the database access in intended to be read-only...here comes the disclaimer... SHARP (nor Stefan Kremer) ASSUME ANY RESPONSIBILITY to any conflict, fault, or damage affecting the unit that rises from your tinkering with the DTM data.
  2. Make sure you have the libzdrm.so on your computer in the appropriate directory and that all the links libzdtm.so.0.1 are there too.
  3. Make sure you have the source code for the test program in the current directory.
  4. Compile:
    1. arm-linux-g++ -I -c -Wall -ansi -pedantic -o arm-dtmdump.o dtmdump.cc
    2. arm-linux-g++ -Wall -ansi -pedantic -o arm-dtmdump arm-dtmdump.o -L/opt/Qtopia/sharp/lib -lzdtm
  5. Transfer to Zaurus:
  • scp arm-dtmdump zaurus@zaurus:/home/zaurus/dtmdump

The compilation should succeed with no warnings or errors. The scp requires your zaurus to be on the network with the machine name 'zaurus'.

Program Output/Operation

The program takes 1 or 2 arguments as follows:

 dtmdump {todo|calendar|addressbook|memo|category}      dtmdump -f /home/zaurus/Applications/dtm/SLTDODO.BOX

The first form opens up a database based on the name; while the second opens a database based on a path. The first version is case insensitive, while the second is not.

The program then prints out the contents of the given database in an XML format. NOTE: the XML format used is __not__ compatible with the original PIM XML format! (I originally tried to do this, but the two DB's contain different kinds of information, so that problem is much harder, especially while I don't know what "rinfo" means.) The purpose of the program is mostly instructional at this point, but it should make it easy for others to extract DTM info and use it for their own purposes.

Personal tools