[Owfs-developers] owfs and php approach - is this risky?

2013-04-07 Thread Don Veino
I'm not a programmer but mess about to get things done. I was trying to set up a low usage php page to show some owfs data and was trying to suss out the OWNet php stuff. I believe I've come to realize that the Arch Linux ARM (ALARM) owfs package does not include OWNet php support, and I likely wou

Re: [Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Roberto Spadim
Ownet (connection to a owserver) just get set and read directory entries, if you can set temperature unit in owserver, you have done 1/3 of commands, if you can set one value with your api, please provide a example of set, read and retrive dir entries, that's 99% that everybody need Em 07/04/2013 1

Re: [Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Hans Erik Busk
I am not quite sure what you mean. I have only worked with an usb master and temperature sensors as it is the only one I have access to. The 'C', 'F', 'K', and 'R' is set by the flags although, like the pressure scales, I have not defined those values in the unit, but that is easily done if nee

Re: [Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Roberto Spadim
You can set some owserver parameters, its works like setting a gpio device pin, try the directories from owserver that set whats the temperature unit for example, try to write 'C' or 'F' to it, if it works, you can set gpio devices too Em 07/04/2013 15:14, "Hans Erik Busk" escreveu: > Actually th

Re: [Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Hans Erik Busk
Actually ther is only one public function call: function ask(pCallType, pFlags: UInt32; pTxt: AnsiString; var pAnswer: TStringlist):integer; It returns the errorcode as delivered from owserver, and the value(s) obtained is in the pAnswer stringlist. The

Re: [Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Roberto Spadim
Please, if possible send example with 'get' and 'set' and 'dir' commands to retrieve and send information about files and directories, i think its all we need in api client side, errors can be handled by app like no value from server, but maybe in a next release an error interface will be nice Em 0

Re: [Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Roberto Spadim
Nice, a clean interface is the best ownet need, about lazarus i think only a test could work, its nice since lazarus can work in posix world and windows world. But good work men, it will nice to have your client for delphi with us Em 07/04/2013 12:55, "Hans Erik Busk" escreveu: > I don't know muc

Re: [Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Hans Erik Busk
I don't know much about lazarus as I through my work have to use delphi, but I don't think there should be any major problem as long as lazarus have a TcpClient like that of delphi. I deliberatly avoided using Indy or IpWorks components to increase compatibility with other delphi versions. Anoth

Re: [Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Roberto Spadim
nice, maybe you could test it in lazarus too? does it comes with examples? the delphi api was a old todo thing in my tasks, but i stopped owclient development some time ago 2013/4/7 Hans Erik Busk > I have developed a delphi class for reading from owserver. > It is rather basic at the moment, a

[Owfs-developers] delphi class for TCP reading from owserver.

2013-04-07 Thread Hans Erik Busk
I have developed a delphi class for reading from owserver. It is rather basic at the moment, as I have only access to temperature sensors. I have not implemented proper error reporting as I have not been able to find the possible errorcodes :-( In the zipfile is also a small testprogram that perf