|
RE: Application Note 193 and StartNetAdapterHost.tini Prob lems: msg#00720hardware.microcontrollers.tini
Kelly et al, There was a slight oversight in the build batch file for StartNetAdapterHost. The resulting .tini file from this batch file will reference the wrong main method. Instead of the main method defined in StartNetAdapterHost, it references the debug main method defined in com.dalsemi.onewire.adapter.NetAdapterHost. The pre-built binary (which also references this main method) will only startup the NetAdapterHost with the default options and won't accept any command-line arguments. To correct it, add the following to the end of the BuildDependency command in tini_build.bat: -m StartNetAdapterHost Then re-execute the script to build the new binary. Scott -- Scott Hughes - Engineer shughes aht dalsemi daut com > -----Original Message----- > From: Scott Hughes > [mailto:Scott.Hughes-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx] > Sent: Friday, June 27, 2003 3:01 PM > To: tini-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx > Subject: RE: [TINI] Application Note 193 and StartNetAdapterHost.tini > Prob lems > > > > -----Original Message----- > > From: Kelly Smith [mailto:bebop1-ihVZJaRskl1bRRN4PJnoQQ@xxxxxxxxxxxxxxxx] > > > > Dear TINI Support - I am trying to locate the sample program > > described below > > in application note 193, and have not had any luck in locating it. > > Specifically, "StartNetAdapterHost.java". > > > > Ref: http://pdfserv.maxim-ic.com/arpdf/AppNotes/app193.pdf > > > > Kelly, > > If you download the 1-Wire API for Java Kit 1.00Beta (available here: > ftp://ftp.dalsemi.com/pub/auto_id/softdev/softdev.html#java).. > . You should > find StartNetAdapterHost.java in the examples/StartNetAdapterHost/src/ > folder. > > -h, -H, or -? should all work for usage (from my quick glance at the > source), although I don't know if all of the command-line > options have been > fully exercised/tested on the TINI. > > The onewire.properties file is a standard file for the 1-Wire > API for Java > for specifying port or global application options. I believe > for TINI this > file is looked for in either the current path or the /etc > folder. You can > create this plaintext file yourself and set the following > options in it: > onewire.adapter.default, onewire.port.default, NetAdapter.ListenPort, > NetAdapter.Multithread, NetAdapter.Secret, NetAdapter.Multicast, > NetAdapter.MulticastPort, NetAdapter.MulticastGroup. I > believe this is > documented in the JavaDocs for the NetAdapter. > > Where the format is: > > propname1=value1 > propname2=value2 > > Tell me more about the odd behaviour you're seeing. I'd like > to help get to > the bottom of it. > > Scott > -- > Scott Hughes - Engineer > shughes aht dalsemi daut com > > > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/hBDgjK7y7TUQ@xxxxxxxxxxxxxxxx To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Tiniconvert issue -trying to create a .tini getting class not found error: 00720, Peter Bauer |
|---|---|
| Next by Date: | Timer related questions: 00720, Kevin Vigor |
| Previous by Thread: | RE: Application Note 193 and StartNetAdapterHost.tini Prob lemsi: 00720, Scott Hughes |
| Next by Thread: | Textpad is all I need for Java code: 00720, mb |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |