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
- Host: GitHub
- URL: https://github.com/hiperiondev/libgs232
- Owner: hiperiondev
- License: mit
- Created: 2023-12-09T13:41:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T21:05:00.000Z (about 2 years ago)
- Last Synced: 2025-01-12T22:43:06.774Z (over 1 year ago)
- Language: C
- Size: 1.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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/)