Giter Site home page Giter Site logo

yapiolibs / hamlib-rotctl-easycomm-parser Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 268 KB

Easycomm parser library for Hamlib rotator control (written in C for C and C++ projects)

License: Apache License 2.0

C 48.88% C++ 36.95% Shell 0.47% Python 13.69%
easycomm hamlib parser platformio platformio-library rotctld

hamlib-rotctl-easycomm-parser's Issues

[FR] implement get `UM`/`DM` mode

Description
According to the command reference UM/DM without arguments shall respond with the current setting but the implementation is missing.

Solution

  • implement parser for UM/DM without arguments

[FR] update to PlatformIO 6.0

Description

  • do update the code to be compliant
    • with PlatformIO 6.0 + Unity (needs: platformio.ini update and implementation of further Unity transport, etc)
  • do code cleanup so that all commands and related methods are called
    • ...setCommandXXX... and ...getCommandXXX... when commands can be used as setter and getter
    • ...doCommandXXX... when commands are only used to trigger actions

[FR] implement get `UP`/`DN` frequency

Description
According to the command reference UP/DN without arguments shall respond with the current setting but the implementation is missing.

Solution

  • implement parser for UP/DN without arguments

[BUG] problem using sscanf with platform ststm32

Description
Set time command fails to parse on ststm32 platform.

How to reproduce

  • pio test -e ststm32 -f easycomm2_ao_lo_op_ip_an_st_ve
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:254:test_parse_acquisition_of_signal	[PASSED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:255:test_parse_loss_of_signal	[PASSED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:256:test_parse_set_output_01	[PASSED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:257:test_parse_set_output_02	[PASSED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:258:test_parse_read_input_01	[PASSED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:259:test_parse_read_input_02	[PASSED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:260:test_parse_read_analogue_input_01	[PASSED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:261:test_parse_read_analogue_input_02	[PASSED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:53:test_parse_set_time_01:FAIL: failed to parse	[FAILED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:53:test_parse_set_time_02:FAIL: failed to parse	[FAILED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:53:test_parse_set_time_03:FAIL: failed to parse	[FAILED]
test/easycomm2_ao_lo_op_ip_an_st_ve/test.cpp:265:test_parse_request_version	[PASSED]

Expected behaviour
All tests green.

[FR] implement get `UR`/`DR` radio

Description
According to the command reference UR/DR without arguments shall respond with the current setting but the implementation is missing.

Solution

  • implement parser for UR/DR without arguments

[BUG] update integration tests once https://github.com/Hamlib/Hamlib/issues/1006 is fixed

Description
In rotctl the Easycomm protocol (--model=204) defines a wrong callback easycomm_rot_move_velocity for the \move command.
See Hamlib/Hamlib#1006.

How to reproduce
Run the following integration tests:

def _test_easycomm2_rotctl_v4_move_up():

def _test_easycomm2_rotctl_v4_move_down():

def _test_easycomm2_rotctl_v4_move_left():

def _test_easycomm2_rotctl_v4_move_right():

def _test_easycomm3_rotctl_v4_move_up():

def _test_easycomm3_rotctl_v4_move_down():

def _test_easycomm3_rotctl_v4_move_left():

def _test_easycomm3_rotctl_v4_move_right():

Expected behavior
Once the bug Hamlib/Hamlib#1006 is fixed the listed tests have to be updated accordingly.

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.