Nevermind, forget my report on problems, it works as expected on Linux.
Only dont wokr GetSerialNames, on linux it show this:
tt tt tt tt.
Best regards.
2010/6/28 German Gentile <[email protected]>
> Yes, im having the exact same problem with USB to serial adapters on linux.
> Sends ok but receives garbage...
>
> Any clues?
>
> 2010/5/19 Jan Kåre Vatne <[email protected]>
>
>>
>> The synaser code fails when reading from an IgotU GPS, which uses
>> a virtual serial port.
>>
>> Reading short messages works OK, but reading 4096 bytes fails,
>> returning only a few hundred bytes - even with long time-outs.
>>
>> The problem is that the routine CanEvent() returns with the wrong event
>> code.
>> It should return EV_RXCHAR, but it returns 0, even if there are characters
>> in the windows internal buffer.
>>
>> Line 1747 in synaser.pas evaluates to false:
>>
>> Result := (ex and Event) = Event;
>>
>> This leads the program to believe there was a time-out, while in reality
>> there are more data in the buffer.
>>
>> A fix that seems to work is to change line 1791 to:
>>
>> Result := CanEvent(EV_RXCHAR, Timeout) or (WaitingData>0);
>>
>>
>> Has anybody any experience with this problem?
>>
>>
>>
>> Jan Kåre Vatne
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> synalist-public mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/synalist-public
>>
>>
>
>
> --
> German Pablo Gentile
>
>
--
German Pablo Gentile
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public