View Issue Details

IDProjectCategoryView StatusLast Update
0002220CCdcielGeneralpublic19-11-02 17:31
Reporterhan Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target Version1.0 
Summary0002220: Receiving multiple frames from HNSKY is unreliable
DescriptionNoted that receiving frames from HNSKY planetarium is unreliable. Often only one frame is imported. It can be fixed by removing the temporary line for older HNSKY versions":


cu_planetarium_hnsky.pas, remove line 118:

- if tcpclient.Sock.LastError<>0 then buf:=tcpclient.RecvPacket;{temporary for older HNSKY versions prior to 4.1.5 sending messages without crlf termination. Will receive after timeout FTimeout. Remove in 2021}
TagsNo tags attached.

Activities

han

19-11-02 14:00

reporter   ~0006034

There is a second line. Same code at line 135 can be removed

Patrick Chevalley

19-11-02 17:31

administrator   ~0006036

Yes, depending the timing all the frames can be read by this second RecvPacket and in this case only one is processed.

I remove this two lines:
https://github.com/pchev/ccdciel/commit/6a7104ade3fd1aca15d8e50303ac4004fe44bfba

and make a note about the required version:
https://www.ap-i.net/ccdciel/en/documentation/start#installation

Issue History

Date Modified Username Field Change
19-11-02 13:56 han New Issue
19-11-02 14:00 han Note Added: 0006034
19-11-02 17:31 Patrick Chevalley Status new => resolved
19-11-02 17:31 Patrick Chevalley Resolution open => fixed
19-11-02 17:31 Patrick Chevalley Target Version => 1.0
19-11-02 17:31 Patrick Chevalley Note Added: 0006036