[Gambas-user] Serial Port Problems

Daniel Campos daniel.campos at ...338...
Sat Apr 16 00:16:11 CEST 2005


nando escribió:

>I have discovered that the DTR and RTS (outputs from host) do not
>behave properly.
>
>When I drop either one 'Sport.DTR = False'
>both go down.  This should not happen.
>
>The DCE mostly likely will not operate correctly
>when the DTR is dropped simultaneously with RTS.
>
>I do not believe the kernel would be buggy.
>-Fernando
>
>  
>
The kernel is buggy, this is sure, but not the serial port driver :-)))

OK, try this patch:

place this file in:

Gambas-1.0.x --> {gambas sources}/src/lib/net

or

Gambas-1.9.x --> {gambas sources}/gb.net/src

And recompile and install the gb.net component, now DTR and RTS will be 
independient.

Regards,

D. Campos


-------------- next part --------------
A non-text attachment was scrubbed...
Name: CSerialPort.c
Type: text/x-csrc
Size: 19387 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20050416/472ca150/attachment.c>


More information about the User mailing list