An open API service indexing awesome lists of open source software.

https://github.com/hiperiondev/libgs232

Library for Yaesu Antenna Rotator GS-232 A and B protocol server
https://github.com/hiperiondev/libgs232

Last synced: 28 days ago
JSON representation

Library for Yaesu Antenna Rotator GS-232 A and B protocol server

Awesome Lists containing this project

README

          

logo

GS-232 library




Library for Yaesu Antenna Rotator GS-232 A and B protocol server



# :notebook_with_decorative_cover: Table of Contents

- [About the Project](#star2-about-the-project)
* [Features](#dart-features)
- [Usage](#eyes-usage)
- [License](#warning-license)
- [Contact](#handshake-contact)

## :star2: About the Project

### :dart: Features

- Complete Yaesu Antenna Rotator GS-232 A and B protocol

## :eyes: Usage

Initialize context:
```C
uint8_t gs232_init(gs232_t **ctx);
```
Destroy context:
```C
uint8_t gs232_deinit(gs232_t **ctx);
```
Parse received command buffer
```C
uint8_t gs232_parse_command(gs232_t **ctx, char *buffer, uint32_t buffer_len);
```
Create return string for parsed command buffer
```C
uint8_t gs232_return_string(gs232_t *ctx, uint8_t command, char *ret_str);
```
UTILITY: Calculate the shortest path between two points, return intermediate points
```C
uint32_t shortest_path(float start_azimuth, float start_elevation, float end_azimuth, float end_elevation, float **intermediatePoints_azimuth, float **intermediatePoints_elevation, float *azimuth, float *elevation)
```

## :compass: Roadmap

* [ ] Complete tests

## :warning: License

Distributed under the MIT License. See LICENSE for more information.

## :handshake: Contact

Emiliano Augusto Gonzalez - egonzalez.hiperion@gmail.com

Project Link: [https://github.com/hiperiondev/libGS232/](https://github.com/hiperiondev/libGS232/)