Jean-Yves F. Barbier ha scritto:
> Werner a écrit :
> ...
>   
>> Depends on what you use it for, it's not free for commercial purposes.
>>
>> You have propably seen
>> http://copyleft.free.fr/wordpress/index.php/libmodbus/
>>     
>
> Thanks Werner, this look interesting.
>
> But AFAIK, GPLv3 & LGPLv3 don't forbid commercial use as far as you provide
> a meaning to get all sources to the client (for short, it's better to supply
> compiled AND source:) and retain the copyleft and credits to original 
> creators.
>
> JY
>   
I wrote in C, some time ago, an embedded application using modbus on RS-422.
It is not a difficult matter, at least the part I was interested in - my 
device acted as a server, and a MMI (a touch screen LCD panel) was 
attached to it.
If you are interested in, I can send some C source code and perhaps the 
official documentation I used to write it (available for free in the 
Internet). I don't remember if my implementation was "full" or had only 
the relevant part, but it was simple and short enough to be translated 
easily to gambas; there was only the CRC-32 (or whatever checksum) which 
was a little CPU intensive, but I suppose an i386 computer has far more 
power than a poor embedded microcontroller...
Unfortunately this material is in the computers at work, I have not it 
here at home, but the next monday I can fetch them.

Regards,

-- 
Doriano Blengino

"Listen twice before you speak.
This is why we have two ears, but only one mouth."


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to