SerialTransfer icon indicating copy to clipboard operation
SerialTransfer copied to clipboard

Mirror library for computers/linux

Open BrainStone opened this issue 5 years ago • 16 comments

Is your feature request related to a problem? Please describe. I'd like to be able to use this library to communicate with an arduino from a linux machine. However the project I'd like to implement this in cannot make use of the python mirror library.

Describe the solution you'd like I'm looking for a computer/linux mirror library.

Describe alternatives you've considered I've taken a look at using the python library but that's just not working out for me. If worst comes to worst I could imagine trying to port the library myself, but I think it would be to the benefit of everyone to have a C++ mirror library.

BrainStone avatar Jun 29 '20 07:06 BrainStone

When you say the Python library isn't working out for you, do you mean there's a bug in the Python library or your PC code isn't originally meant for Python?

PowerBroker2 avatar Jun 29 '20 11:06 PowerBroker2

I mean that the project itself is written in C++ and I can't integrate a python library

BrainStone avatar Jun 29 '20 12:06 BrainStone

Ah, ok. I can port the lib to a Linux C++ library, but no promises on a date to have it complete by.

PowerBroker2 avatar Jun 29 '20 19:06 PowerBroker2

That would be much apprechiated!

Do you have a rough guess on how long it'll take? I do understand not wanting to commit to a date and I won't bug you about it, but I'd love to know if it's worth waiting of if I need to look for other ways to get the linux computer talking.

BrainStone avatar Jun 29 '20 20:06 BrainStone

I can make an empty repo for it today. That way anyone in the community can contribute to it and progress will be faster. Also, I don't have a Linux machine or much experience with Linux, so I would need help with testing anyway.

Basically, I can start today, but might take a month or so to finish it. If others in the open source community help, it should go faster.

PowerBroker2 avatar Jun 29 '20 20:06 PowerBroker2

Alright. I should be able to help out.

BrainStone avatar Jun 29 '20 20:06 BrainStone

For testing you can just use WSL. Or at least for compiling.
A virtual machine should work just fine too.

BrainStone avatar Jun 29 '20 21:06 BrainStone

Would you mind giving this project a start? Like with the build tools and the like. There's quite a few and I don't want to make that decision for you.

If you're asking me, I'd say CMake. Decent learning curve, works well with VisualStudio (VisualStudio has support for Linux CMake projects) and is overall commonly used.

BrainStone avatar Jul 07 '20 06:07 BrainStone

Hello @PowerBroker2 and @BrainStone can i send file using this library.(File already Exist) ?

Yash1903 avatar Jan 27 '21 09:01 Yash1903

@Yash1903, yes, you can send a file with this library. I've seen someone transfer 2K jpg pictures from one Arduino to another with SerialTransfer. Check out the example sketches whos names are appended by _file

PowerBroker2 avatar Jan 27 '21 16:01 PowerBroker2

Excuse me, but any news about this?

ghost avatar Mar 21 '22 15:03 ghost

+1 request!

v-r-a avatar Apr 03 '23 12:04 v-r-a

That CSerialTransfer, I would very much appreciate if it became a reality. I wanna transfer data reliably between a Windows program and Arduino. Using SerialTransfer and CSerialTransfer seems like the perfect solution! I'm willing to pay for it to become a reality. And ofc shared with everyone!

Satnet avatar Oct 29 '23 08:10 Satnet

That CSerialTransfer, I would very much appreciate if it became a reality. I wanna transfer data reliably between a Windows program and Arduino. Using SerialTransfer and CSerialTransfer seems like the perfect solution! I'm willing to pay for it to become a reality. And ofc shared with everyone!

There is already a pull request that should work although its nor merged yet for whatever reason!? https://github.com/PowerBroker2/CSerialTransfer/pull/1

shyney7 avatar Nov 27 '23 10:11 shyney7