Giter VIP home page Giter VIP logo

Comments (11)

DK4FT avatar DK4FT commented on July 30, 2024 1

According to the documentation it should emulate GS232-B protocol.

I checked the communication with
screen /dev/ttyUSB0 9600
but there is no output in the terminal window and no command (like "H") provide any feedback as terminal output
I added my user to dialout group, but even then no echo or feedback from the interface...

Next days I will be onsite and check again with the device attached to a windows machine and putty.

73 Alex

from remoterotator.

dh1tw avatar dh1tw commented on July 30, 2024 1

Thanks for the traces Alex. I had a look into the source code. So far I only implemented GS232A.

GS232A returns on a C2 query:

+0030+0090

While GS232B returns on a C2query:

AZ=113  EL=030

I will have to implement the GS232B protocol.

from remoterotator.

dh1tw avatar dh1tw commented on July 30, 2024 1

I hope I have a version ready for testing this weekend

from remoterotator.

dh1tw avatar dh1tw commented on July 30, 2024

Hi Alex,

would be interesting to know which protocol the RTC-200 exactly emulates. The Yaesu G232 A and GS232 B and popular ones. You can connect with any terminal to the device. On Windows, Putty should work, on Linux you could use the application "screen".

Please attach the terminal output.

73 Tobias

from remoterotator.

DK4FT avatar DK4FT commented on July 30, 2024

I traced the tty traffic on a windows machine.

Steps I tested:

  1. send manual commands with putty on a Win10 machine.
    Result: there is also no response from the rtc-200 device. E.G. If I send the C2 command, no repsonse
  2. use the CGantenna provided mini Application
    Result:
    There is a heartbeat on a LED of the device visible (same as with remoteRotator application)
    in addition the application is sending regular C2 commands and the device responds with the actual Azimuth position of the rotator.
    The only difference between sending data by putty or sending data with the CGantenna app are the controll wires.
    When using putty all signals are "off", when using the CGAntenna app all wires are on "low-level" (red)

port_sniffer

The RTC-200 Interface is accepting commands, but it looks like the interface is only sending data back, when the control lines are on LOW level.
Is this a possible cause and difference to the other working interfaces?

from remoterotator.

DK4FT avatar DK4FT commented on July 30, 2024

Did a trace using socat in the linux machine

  1. RTC-200 is connected to /dev/ttyUSB1
  2. startet sudo socat -x -v /dev/ttyUSB1,rawer,b9600,crnl PTY,link=/home/AlexFritz/ttyV1,rawer,crnl
  3. startet remoteRotator with interface to /home/AlexFritz/ttyV1:

< 2024/01/17 13:36:36.000368496 length=4 from=0 to=3
43 32 0d 0a C2..

2024/01/17 13:36:36.000392172 length=10 from=0 to=9
41 5a 3d 31 31 30 20 20 45 4c AZ=110 EL
--
2024/01/17 13:36:36.000408352 length=6 from=10 to=15
3d 30 33 32 0d 0a =032..
--
< 2024/01/17 13:36:37.000368907 length=4 from=4 to=7
43 32 0d 0a C2..
--
2024/01/17 13:36:37.000383883 length=2 from=16 to=17
41 5a AZ
--
2024/01/17 13:36:37.000399948 length=14 from=18 to=31
3d 31 31 30 20 20 45 4c 3d 30 33 32 0d 0a =110 EL=032..
--
< 2024/01/17 13:36:38.000368382 length=4 from=8 to=11
43 32 0d 0a C2..
--
2024/01/17 13:36:38.000391750 length=10 from=32 to=41
41 5a 3d 31 31 30 20 20 45 4c AZ=110 EL
--
2024/01/17 13:36:38.000407944 length=6 from=42 to=47
3d 30 33 32 0d 0a =032..
--
< 2024/01/17 13:36:39.000368505 length=4 from=12 to=15
43 32 0d 0a C2..
--
2024/01/17 13:36:39.000383562 length=2 from=48 to=49
41 5a AZ
--
2024/01/17 13:36:39.000399562 length=14 from=50 to=63
3d 31 31 30 20 20 45 4c 3d 30 33 32 0d 0a =110 EL=032..
--
< 2024/01/17 13:36:40.000368345 length=4 from=16 to=19
43 32 0d 0a C2..
--
2024/01/17 13:36:40.000391380 length=9 from=64 to=72
41 5a 3d 31 31 30 20 20 45 AZ=110 E
--
2024/01/17 13:36:40.000407620 length=7 from=73 to=79
4c 3d 30 33 32 0d 0a L=032..
--
< 2024/01/17 13:36:41.000368159 length=4 from=20 to=23
43 32 0d 0a C2..
--
2024/01/17 13:36:41.000383356 length=1 from=80 to=80
41 A
--
2024/01/17 13:36:41.000399246 length=15 from=81 to=95
5a 3d 31 31 30 20 20 45 4c 3d 30 33 32 0d 0a Z=110 EL=032..
--
< 2024/01/17 13:36:42.000368502 length=4 from=24 to=27
43 32 0d 0a C2..
--
2024/01/17 13:36:42.000391205 length=8 from=96 to=103
41 5a 3d 31 31 30 20 20 AZ=110
--
2024/01/17 13:36:42.000407164 length=8 from=104 to=111
45 4c 3d 30 33 32 0d 0a EL=032..
--
< 2024/01/17 13:36:43.000368826 length=4 from=28 to=31
43 32 0d 0a C2..
--
2024/01/17 13:36:43.000399289 length=15 from=112 to=126
41 5a 3d 31 31 30 20 20 45 4c 3d 30 33 32 0d AZ=110 EL=032.
--
2024/01/17 13:36:43.000416564 length=1 from=127 to=127
0a .
--
< 2024/01/17 13:36:44.000369256 length=4 from=32 to=35
43 32 0d 0a C2..
--
2024/01/17 13:36:44.000390908 length=7 from=128 to=134
41 5a 3d 31 31 30 20 AZ=110
--
2024/01/17 13:36:44.000406869 length=9 from=135 to=143
20 45 4c 3d 30 33 32 0d 0a EL=032..

from remoterotator.

DK4FT avatar DK4FT commented on July 30, 2024

Hi Tobias,

do you have a plan if or estimation when you like to implement the GS323B protocoll?

from remoterotator.

dh1tw avatar dh1tw commented on July 30, 2024

Hi Alex,
I have added support for GS232B in the gs232b branch.
Could you give it a try with your RTC-200 interface?
I manually uploaded the binaries from the latest commit (7c1534c) here:
https://cloud.dh1tw.de/s/aeNXYqdN8MQLgSr

from remoterotator.

DK4FT avatar DK4FT commented on July 30, 2024

Hi Tobias,

i just gave your beta version a try and it seem to work fine:
image

from remoterotator.

dh1tw avatar dh1tw commented on July 30, 2024

Excellent. Then I will merge the branch and create a new release (v0.7.0).

from remoterotator.

dh1tw avatar dh1tw commented on July 30, 2024

Hi Alex,

I just published the v0.7.0 release. In case you find bugs or unexpected behaviour, please re-open or create a new issue.
73 Tobias

from remoterotator.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.