Re: [Owfs-developers] (C) API question

2007-06-07 Thread Sven Geggus
Christian Magnusson <[EMAIL PROTECTED]> wrote: > I checked in the changes into the CVS. OK! Current CVS Version is working fine for me now! Sven -- "Whenever there is a conflict between human rights and property rights, human rights must prevail." (Abraham Lincoln) /me is [EMAIL PROTECTED], h

Re: [Owfs-developers] (C) API question

2007-06-05 Thread Serg Oskin
F/type > > DS18S20 > > > > Read system/adapter/name.ALL > > Simulated,Simulated > > > > /Christian > > > > > > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of > *Steve Malenfant > *Sent:* den 4 juni 2007 21:51 > *T

Re: [Owfs-developers] (C) API question

2007-06-05 Thread Christian Magnusson
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Malenfant Sent: den 4 juni 2007 21:51 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] (C) API question There is definitively something wrong in owfs-tcl in 2.6 The path returned always contains ",&quo

Re: [Owfs-developers] (C) API question

2007-06-05 Thread Christian Magnusson
stian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Malenfant Sent: den 4 juni 2007 21:51 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] (C) API question There is definitively something wrong in owfs-tcl in 2.6 The path returned always con

Re: [Owfs-developers] (C) API question

2007-06-04 Thread Steve Malenfant
I guess. /Christian *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Paul Alfille *Sent:* den 2 juni 2007 14:46 *To:* owfs-developers@lists.sourceforge.net *Subject:* Re: [Owfs-developers] (C) API question Sounds like a bug in owcapi -- I'll check. Paul Alfille O

Re: [Owfs-developers] (C) API question

2007-06-04 Thread Christian Magnusson
/Christian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille Sent: den 2 juni 2007 14:46 To: owfs-developers@lists.sourceforge.net Subject: Re: [Owfs-developers] (C) API question Sounds like a bug in owcapi -- I'll check. Paul Alfille On 6/2/07, S

Re: [Owfs-developers] (C) API question

2007-06-02 Thread Sven Geggus
Paul Alfille <[EMAIL PROTECTED]> wrote: > Sounds like a bug in owcapi -- I'll check. downgrading to 2.5p10 did fix this for me, if this helps. My C-code as well as my TCL-code is working fine using this Version. Sven -- "If you continue running Windows, your system may become unstable." (Wind

Re: [Owfs-developers] (C) API question

2007-06-02 Thread Paul Alfille
Sounds like a bug in owcapi -- I'll check. Paul Alfille On 6/2/07, Sven Geggus <[EMAIL PROTECTED]> wrote: Hi there, my last posting I assumed this to be a bug of owtcl, but its not! Presumably I have just got some misunderstanding of the API. Anyway, this did work with some older Version of

Re: [Owfs-developers] C-API

2005-10-12 Thread Geo Carncross
On Tue, 2005-10-11 at 21:29 -0400, Paul Alfille wrote: > > > int OW_get( const char * path, char * buffer, int buffer_length ) ; > > > > Don't let the programmer specify a buffer length for gets. It's prone to > > programming errors. The extra malloc() isn't going to cause any real > > problems, bu

Re: [Owfs-developers] C-API

2005-10-11 Thread Paul Alfille
On Tuesday 11 October 2005 06:26 pm, Geo Carncross wrote: > On Tue, 2005-10-11 at 17:45 -0400, Paul Alfille wrote: > > Ok, Geo. I'm convinced. > > > > Look in the CVS for owcapi. (libowcapi.so.0.0.0) > > > > Very simple library: > > int OW_init( const char * device ) ; > > What's device? Why is the

Re: [Owfs-developers] C-API

2005-10-11 Thread Geo Carncross
On Tue, 2005-10-11 at 17:45 -0400, Paul Alfille wrote: > Ok, Geo. I'm convinced. > > Look in the CVS for owcapi. (libowcapi.so.0.0.0) > > Very simple library: > int OW_init( const char * device ) ; What's device? Why is the programmer concerned? Isn't it a target-system specified thing? Perhaps

Re: [Owfs-developers] C-API

2005-10-11 Thread Paul Alfille
Ok, Geo. I'm convinced. Look in the CVS for owcapi. (libowcapi.so.0.0.0) Very simple library: int OW_init( const char * device ) ; int OW_get( const char * path, char * buffer, int buffer_length ) ; int OW_put( const char * path, const char * buffer, int buffer_length ) ; void OW_finish( void ) ;

RE: [Owfs-developers] C-API

2005-10-11 Thread Geo Carncross
PROTECTED] on behalf of Sven Geggus > Sent: Fri 10/7/2005 1:32 PM > To: owfs-developers@lists.sourceforge.net > Subject: [Owfs-developers] C-API > > Hello all, > > I like the simple owfs Interfaces for the major scripting languages. Is > there something like this for C as

RE: [Owfs-developers] C-API

2005-10-07 Thread Alfille, Paul H.,M.D.
Paul -Original Message- From: [EMAIL PROTECTED] on behalf of Sven Geggus Sent: Fri 10/7/2005 1:32 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] C-API Hello all, I like the simple owfs Interfaces for the major scripting languages. Is there something like this for C as wel

[Owfs-developers] C-API

2005-10-07 Thread Sven Geggus
Hello all, I like the simple owfs Interfaces for the major scripting languages. Is there something like this for C as well? If so, do you have some simple examples besides the sources of owhttpd and such? Unfortunately, the example directory of my CVS "working copy" is empty. Sven -- wenn ping