Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C client source code (RTK.GPIO) #11

Open
maggu2810 opened this issue Dec 28, 2020 · 6 comments
Open

C client source code (RTK.GPIO) #11

maggu2810 opened this issue Dec 28, 2020 · 6 comments

Comments

@maggu2810
Copy link

maggu2810 commented Dec 28, 2020

Hi,
thank you for the RTK.GPIO board, the specifications and the source code.

You provide a python module to access the board (let's say a client python library).
The firmware for the board is written in C, so there is also the (let's name it server) C code.

Do you consider to provide the client library source code also for C / C++?
IMHO the code itself could be the same for all platform, we need just a simple wrapper for the serial port handling. This wrapper needs to be implemented for the specific OS.
It would be good to provide the code base here at a central place. Otherwise it needs to be developed by everyone itself.

@maggu2810 maggu2810 changed the title C client source code C client source code (RTK.GPIO) Dec 28, 2020
@ryanteck
Copy link
Contributor

There is no C code for the computer side of the device.

@maggu2810
Copy link
Author

I know that there is currently no one. So the request if you could add one.
But if there is no interest to provide it on the upstream project, no problem. I just thought it would be a good idea.
I will write it myself.

@ryanteck
Copy link
Contributor

Sorry, I read your request as an assumption that I had written a C client library just because the microcontrollers was written in C.

However currently there's no plans to write a C library as python is targeted due to it's popularity as a language used on the Pi.

@shawaj
Copy link
Member

shawaj commented Dec 28, 2020

@maggu2810 all of the software and firmware is up on GitHub already as open source.

we welcome any PRs on the repo so if you are willing to write the code we can definitely look at including it. But we will not write one ourselves at this point because there is not any demand for it - you are the first person to ask about it.

@maggu2810
Copy link
Author

The first version could be found here: https://github.com/maggu2810/librtkgpio
I will update the library if there is any need.

@shawaj shawaj reopened this Jan 31, 2021
@shawaj
Copy link
Member

shawaj commented Jan 31, 2021

@maggu2810 great we will take a look. Cc @ryanteck

I'll add a link also to the repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants