Thread: [Xml1-wire-devel] Example source code.
Status: Planning
                
                Brought to you by:
                
                    vinculum
                    
                
            | 
      
      
      From: Brian D. H. <bri...@da...> - 2001-03-29 23:06:41
       | 
| I am in need of some assistance... I have downloaded the sample code from Sourceforge. I have also downloaded ANT and TINIANT from their respective sites, and was able to build the package. Plus, I have the Systronics 8 1-WIRE I/O board with which to test the code. However, I have been unable to produce a *.tini or runnable *.class file utilizing the *.dtd and the example XML file located on the site. I was wondering if someone could point me in the right direction or provide a few pointers... Thanks, --Brian Hindman, Dallas Semiconductor. | 
| 
      
      
      From: Sean K. <ke...@ad...> - 2001-03-29 23:36:37
       | 
| > However, I have been unable to produce a *.tini > or runnable *.class file utilizing the *.dtd and > the example XML file located on the site. What error messages, if any, are you seeing? --Sean | 
| 
      
      
      From: Brian D. H. <bri...@da...> - 2001-03-29 23:57:16
       | 
| Sean,
Hi.  I don't get any error messages...
Everything seems to build, but no *.tini is made.  My output 
can be found below...
Should I just attempt to run the testerParser.class with 
input parameter of 8x1.XML file?
Where should MinML.jar be placed?
Regards,
--Brian H.
P.S.  I will be out of the office until Monday.  I'll let you 
know my progress then...
======================Output=======================================
D:\Work\XMLTagging\InterestGroup\xml1-wire>ant -Dtini.dir=D:\download\tini\tini1
.02
Buildfile: build.xml
prepBuild:
    [mkdir] Created dir: D:\Work\XMLTagging\InterestGroup\xml1-wire\build
compile:
    [javac] Compiling 13 source files to D:\Work\XMLTagging\InterestGroup\xml1-w
ire\build
copyResources:
build:
BUILD SUCCESSFUL
Total time: 6 seconds
===============================================================
> -----Original Message-----
> From: xml...@li...
> [mailto:xml...@li...]On Behalf Of Sean
> Kelly
> Sent: Thursday, March 29, 2001 5:38 PM
> To: Brian D. Hindman; XML1-Wire
> Subject: Re: [Xml1-wire-devel] Example source code.
> 
> 
> > However, I have been unable to produce a *.tini 
> > or runnable *.class file utilizing the *.dtd and 
> > the example XML file located on the site.
> 
> What error messages, if any, are you seeing?
> 
> --Sean
> 
> 
> 
> _______________________________________________
> Xml1-wire-devel mailing list
> Xml...@li...
> http://lists.sourceforge.net/lists/listinfo/xml1-wire-devel
> 
 | 
| 
      
      
      From: Sean K. <ke...@ad...> - 2001-03-30 00:45:45
       | 
| Got it. When you run ant with no arguments, by default you get compilation for execution on your local system. Run ant and pass the "tini" argument: > ant -Dtini.dir=d:\download\tini\tini1.02 tini and you'll get a build for execution on a TINI. Take care. --k | 
| 
      
      
      From: Brian D. H. <bri...@da...> - 2001-04-06 23:16:17
       | 
| Sean, I'm still having some difficulty. Now, I get an error message that it can't find "BuildOneWireDependency" class. I think I fixed the above with a "classpath" attribute in the Build file. However, then it gave an error message that it couldn't find the TINIConvertor class. Any ideas? Thanks, --Brian Hindman, Dallas Semiconductor. > -----Original Message----- > From: xml...@li... > [mailto:xml...@li...]On Behalf Of Sean > Kelly > Sent: Thursday, March 29, 2001 6:47 PM > To: Brian D. Hindman; XML1-Wire > Subject: Re: [Xml1-wire-devel] Example source code. > > > Got it. > > When you run ant with no arguments, by default you get > compilation for execution on your local system. Run > ant and pass the "tini" argument: > > > ant -Dtini.dir=d:\download\tini\tini1.02 tini > > and you'll get a build for execution on a TINI. > > Take care. > --k > > > _______________________________________________ > Xml1-wire-devel mailing list > Xml...@li... > http://lists.sourceforge.net/lists/listinfo/xml1-wire-devel > | 
| 
      
      
      From: Sean K. <ke...@ad...> - 2001-04-06 23:54:52
       
        
          
            Attachments:
            build.xml
          
        
       | 
| > Now, I get an error message that it can't > find "BuildOneWireDependency" class. Well, you can tell how recently we've worked on XML 1-Wire Tagging, now can't you? :-) As soon as I get copious spare time (hah!) I'm planning on delving into tagging again full steam ahead. I've just checked in an updated build.xml file to the CVS repository; I'm also attaching it to this email message for your convenience. Give it another go. --Sean | 
| 
      
      
      From: Brian D. H. <bri...@da...> - 2001-04-09 17:54:28
       | 
| Sean Kelly, Hi. Thanks for the new build.xml file! It allowed me to compile successfully to a *.tini file using Ant. To test the 8x1.xml file, I am using the Systronix board (8 1-WIRE I/Os). Using the iButton Viewer I discovered all 4 1-Wire Net addresses and put them in the xml file. But, when I ran the xml1wire.tini file, I just received a parse of the xml file (see output below). I was under the impression that the code actually blinked the LEDs and buzzed the buzzer. Do you have any idea what might be going on or what I might be doing wrong? Would I need to use a newer version of MinML with RPC? Thanks, --Brian Hindman, Dallas Semiconductor. ======================================================= TINI /> java xml1wire.tini 8x1.xml Start of document: <OW:Cluster xmlns:OW="http://xml1-wire.sourceforge.net"> <OW:Description> Systronix 8x1-wire board </OW:Description> <OW:Cluster> <OW:Description> Pushbuttons </OW:Description> <OW:Sensor accessMethod="AM_LEVEL_2406"> <OW:NetAddress> FC00000018BC0112 </OW:NetAddress> <OW:ChannelMask> 02 </OW:ChannelMask> <OW:Description> Push-Button 2 </OW:Description> </OW:Sensor> <OW:Sensor accessMethod="AM_LEVEL_2406"> <OW:NetAddress> 1400000018AE2912 </OW:NetAddress> <OW:ChannelMask> 02 </OW:ChannelMask> <OW:Description> Push-Button 3 </OW:Description> </OW:Sensor> <OW:Sensor accessMethod="AM_LEVEL_2406"> <OW:NetAddress> B700000018AE3212 </OW:NetAddress> <OW:ChannelMask> 02 </OW:ChannelMask> <OW:Description> Push-Button 4 </OW:Description> </OW:Sensor> <OW:Sensor accessMethod="AM_LEVEL_2406"> <OW:NetAddress> B200000018BC2A12 </OW:NetAddress> <OW:ChannelMask> 02 </OW:ChannelMask> <OW:Description> Push-Button 1 </OW:Description> </OW:Sensor> </OW:Cluster> <OW:Cluster> <OW:Description> LEDs </OW:Description> <OW:Actuator accessMethod="AM_SWITCH_2406"> <OW:NetAddress> FC00000018BC0112 </OW:NetAddress> <OW:ChannelMask> 01 </OW:ChannelMask> <OW:Description> LED2 </OW:Description> </OW:Actuator> <OW:Actuator accessMethod="AM_SWITCH_2406"> <OW:NetAddress> 1400000018AE2912 </OW:NetAddress> <OW:ChannelMask> 01 </OW:ChannelMask> <OW:Description> LED3 </OW:Description> </OW:Actuator> <OW:Actuator accessMethod="AM_SWITCH_2406"> <OW:NetAddress> B700000018AE3212 </OW:NetAddress> <OW:ChannelMask> 01 </OW:ChannelMask> <OW:Description> LED4 AND BUZZER </OW:Description> </OW:Actuator> <OW:Actuator accessMethod="AM_SWITCH_2406"> <OW:NetAddress> B200000018BC2A12 </OW:NetAddress> <OW:ChannelMask> 01 </OW:ChannelMask> <OW:Description> LED1 </OW:Description> </OW:Actuator> </OW:Cluster> </OW:Cluster> End of document. > -----Original Message----- > From: xml...@li... > [mailto:xml...@li...]On Behalf Of Sean > Kelly > Sent: Friday, April 06, 2001 6:55 PM > To: Brian D. Hindman > Cc: XML1-Wire > Subject: Re: [Xml1-wire-devel] Example source code. > > > > Now, I get an error message that it can't > > find "BuildOneWireDependency" class. > > Well, you can tell how recently we've worked > on XML 1-Wire Tagging, now can't you? :-) > As soon as I get copious spare time (hah!) > I'm planning on delving into tagging again > full steam ahead. > > I've just checked in an updated build.xml > file to the CVS repository; I'm also attaching > it to this email message for your convenience. > > Give it another go. > > --Sean > > > | 
| 
      
      
      From: Sean K. <ke...@ad...> - 2001-04-10 23:40:17
       | 
| > But, when I ran the xml1wire.tini file, I just received > a parse of the xml file (see output below). Right. The Main class listed in build.xml, net.sourceforge.xml1wire.Main, just dumps its parsed XML input. For a more interesting demo, see the file parserTester.java, courtesy of Byron Appelt. (You know, we really need to clean up the XML 1-wire directory ... again time permitting (hah!)) --Sean | 
| 
      
      
      From: David S. <dav...@da...> - 2001-09-17 21:52:27
       | 
| All See Scott's announcement below. This release contains a XML 1-Wire solution. It has some similar lineage to the source forge project but goes off in a slightly different direction and is pretty fleshed out. The XML files can be on the desktop filesystem or on the 1-Wire devices themselves. There is an application that will automatically read these files and spawn windows representing each sensor/actuator. Dave An Alpha release of the Java OneWireAPI v1.00 is available for download on the ftp site. The file readme.txt details all new additions and the procudures for installation. A complete list of changes and bug fixes is available in the file changes.txt. Download (2.43mb): ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00A.tgz Readme only (34kb): ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00Areadme.txt Changes only (31kb): ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00Achanges.txt All the examples (the ones without GUIs) were built against the latest version of the TINI SDK (version 1.02c) and a corresponding .tbin is included. Get the version 1.02c of the TINI SDK here: ftp://ftp.dalsemi.com/pub/tini/tini1_02c.tgz Paraphrased from the Readme, here's a list of what's new: New OneWireContainers Added - OneWireContainer22 for the DS1822, 1-Wire Digital Thermometer. - OneWireContainer24 for the DS2415/DS1904, 1-Wire Real-Time Clock. - OneWireContainer27 for the DS2417, 1-Wire Time Chip with Interrupt. New Hygro iButton, HumidityContainer - Application support for Humidity sensing devices, including the DS1910 Hygro iButton. A demo is included. New SHA Transaction API - High-level transaction architecture intended to ease the development of custom secure applications. Support for DS1961S (SHA EEPROM), DS1963S (SHA NVRAM), and a DS1963S coprocessor is no longer required as it can be simulated. New 1-Wire XML Tagging - Framework and demo application for using XML stored directly on the device to "tag" each device with grouping information. GUI demo applications are included for viewing and creating 1-Wire Tags. New OpenCard support classes for Java iButton - API to abstract communication with SmartCards and JavaCards like the Java Powered iButton. (See http://www.opencard.org) Enjoy! -- Scott Hughes <sh...@da...> AutoInf Engineer, Maxim/Dallas Semiconductor | 
| 
      
      
      From: Sean K. <ke...@ad...> - 2001-10-22 14:37:55
       | 
| Given the maturity of this tagging solution, and the quiescence of our own project, I'd like to make a motion to retire the XML 1-Wire Tagging project on Source Forge. > All > > See Scott's announcement below. This release contains > a XML 1-Wire solution. It has some similar lineage to > the source forge project but goes off in a slightly > different direction and is pretty fleshed out. The > XML files can be on the desktop filesystem or on the > 1-Wire devices themselves. There is an application > that will automatically read these files and spawn > windows representing each sensor/actuator. > > Dave > > > > > An Alpha release of the Java OneWireAPI v1.00 is available for download on > the ftp site. The file readme.txt details all new additions and the > procudures for installation. A complete list of changes and bug fixes is > available in the file changes.txt. > > Download (2.43mb): > ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00A.tgz > > Readme only (34kb): > ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00Areadme.txt > > Changes only (31kb): > ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00Achanges.txt > > All the examples (the ones without GUIs) were built against the latest > version of the TINI SDK (version 1.02c) and a corresponding .tbin is > included. Get the version 1.02c of the TINI SDK here: > ftp://ftp.dalsemi.com/pub/tini/tini1_02c.tgz > > Paraphrased from the Readme, here's a list of what's new: > > New OneWireContainers Added > - OneWireContainer22 for the DS1822, 1-Wire Digital Thermometer. > - OneWireContainer24 for the DS2415/DS1904, 1-Wire Real-Time Clock. > - OneWireContainer27 for the DS2417, 1-Wire Time Chip with Interrupt. > > New Hygro iButton, HumidityContainer > - Application support for Humidity sensing devices, including the DS1910 > Hygro iButton. A demo is included. > > New SHA Transaction API > - High-level transaction architecture intended to ease the development of > custom secure applications. Support for DS1961S (SHA EEPROM), DS1963S (SHA > NVRAM), and a DS1963S coprocessor is no longer required as it can be > simulated. > > New 1-Wire XML Tagging > - Framework and demo application for using XML stored directly on the > device to "tag" each device with grouping information. GUI demo > applications are included for viewing and creating 1-Wire Tags. > > New OpenCard support classes for Java iButton > - API to abstract communication with SmartCards and JavaCards like the Java > Powered iButton. (See http://www.opencard.org) > > > Enjoy! > > -- > Scott Hughes <sh...@da...> > AutoInf Engineer, Maxim/Dallas Semiconductor > > > _______________________________________________ > Xml1-wire-devel mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xml1-wire-devel > | 
| 
      
      
      From: Brian D. H. <bri...@da...> - 2001-10-22 22:18:47
       | 
| Sean, Hi. As to your motion to retire the Source Forge XML Tagging project, we here at Dallas Semiconductor are still evaluating the situation, so our official response is "We don't know yet"... By the way, if you had any trouble downloading the 1-Wire Tagging document in PDF format (it came in the 1-Wire API for Java 1.00 Alpha release), we have extracted just the document and placed it on our FTP site here: ftp://ftp.dalsemi.com/pub/auto_id/public/xmltag.pdf Thanks, --Brian Hindman, Dallas Semiconductor. > -----Original Message----- > From: xml...@li... > [mailto:xml...@li...]On Behalf Of Sean > Kelly > Sent: Monday, October 22, 2001 9:37 AM > To: David Smiczek; XML1-Wire > Subject: Re: [Xml1-wire-devel] New take on XML 1-Wire Tagging > > > Given the maturity of this tagging solution, and the > quiescence of our own project, I'd like to make a > motion to retire the XML 1-Wire Tagging project on > Source Forge. > > > All > > > > See Scott's announcement below. This release contains > > a XML 1-Wire solution. It has some similar lineage to > > the source forge project but goes off in a slightly > > different direction and is pretty fleshed out. The > > XML files can be on the desktop filesystem or on the > > 1-Wire devices themselves. There is an application > > that will automatically read these files and spawn > > windows representing each sensor/actuator. > > > > Dave > > > > > > > > > > An Alpha release of the Java OneWireAPI v1.00 is available for download on > > the ftp site. The file readme.txt details all new additions and the > > procudures for installation. A complete list of changes and bug fixes is > > available in the file changes.txt. > > > > Download (2.43mb): > > ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00A.tgz > > > > Readme only (34kb): > > ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00Areadme.txt > > > > Changes only (31kb): > > ftp://ftp.dalsemi.com/pub/auto_id/public/owapi_1_00Achanges.txt > > > > All the examples (the ones without GUIs) were built against the latest > > version of the TINI SDK (version 1.02c) and a corresponding .tbin is > > included. Get the version 1.02c of the TINI SDK here: > > ftp://ftp.dalsemi.com/pub/tini/tini1_02c.tgz > > > > Paraphrased from the Readme, here's a list of what's new: > > > > New OneWireContainers Added > > - OneWireContainer22 for the DS1822, 1-Wire Digital Thermometer. > > - OneWireContainer24 for the DS2415/DS1904, 1-Wire Real-Time Clock. > > - OneWireContainer27 for the DS2417, 1-Wire Time Chip with Interrupt. > > > > New Hygro iButton, HumidityContainer > > - Application support for Humidity sensing devices, including the DS1910 > > Hygro iButton. A demo is included. > > > > New SHA Transaction API > > - High-level transaction architecture intended to ease the development of > > custom secure applications. Support for DS1961S (SHA EEPROM), DS1963S (SHA > > NVRAM), and a DS1963S coprocessor is no longer required as it can be > > simulated. > > > > New 1-Wire XML Tagging > > - Framework and demo application for using XML stored directly on the > > device to "tag" each device with grouping information. GUI demo > > applications are included for viewing and creating 1-Wire Tags. > > > > New OpenCard support classes for Java iButton > > - API to abstract communication with SmartCards and JavaCards like the Java > > Powered iButton. (See http://www.opencard.org) > > > > > > Enjoy! > > > > -- > > Scott Hughes <sh...@da...> > > AutoInf Engineer, Maxim/Dallas Semiconductor > > > > > > _______________________________________________ > > Xml1-wire-devel mailing list > > Xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xml1-wire-devel > > > > > _______________________________________________ > Xml1-wire-devel mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xml1-wire-devel > | 
| 
      
      
      From: David S. <dav...@da...> - 2001-04-09 13:25:59
       | 
| Brian, > Now, I get an error message that it can't > find "BuildOneWireDependency" class. Do you have to build it for TINI. Can't you just use the PC version of the 1-Wire API to run this example? Dave > -----Original Message----- > From: xml...@li... > [mailto:xml...@li...]On Behalf Of Brian > D. Hindman > Sent: Friday, April 06, 2001 6:22 PM > To: Sean Kelly > Cc: XML1-Wire > Subject: RE: [Xml1-wire-devel] Example source code. > > > Sean, > > I'm still having some difficulty. > > Now, I get an error message that it can't > find "BuildOneWireDependency" class. > > I think I fixed the above with a > "classpath" attribute in the Build file. > > However, then it gave an error message that > it couldn't find the TINIConvertor class. > > Any ideas? > > Thanks, > --Brian Hindman, > Dallas Semiconductor. > > > -----Original Message----- > > From: xml...@li... > > [mailto:xml...@li...]On Behalf Of Sean > > Kelly > > Sent: Thursday, March 29, 2001 6:47 PM > > To: Brian D. Hindman; XML1-Wire > > Subject: Re: [Xml1-wire-devel] Example source code. > > > > > > Got it. > > > > When you run ant with no arguments, by default you get > > compilation for execution on your local system. Run > > ant and pass the "tini" argument: > > > > > ant -Dtini.dir=d:\download\tini\tini1.02 tini > > > > and you'll get a build for execution on a TINI. > > > > Take care. > > --k > > > > > > _______________________________________________ > > Xml1-wire-devel mailing list > > Xml...@li... > > http://lists.sourceforge.net/lists/listinfo/xml1-wire-devel > > > > _______________________________________________ > Xml1-wire-devel mailing list > Xml...@li... > http://lists.sourceforge.net/lists/listinfo/xml1-wire-devel > |