PB2

Results 120 comments of PB2
trafficstars

I remember thinking about doing inheritance before the big update and decided against it, probably because I completely forgot about virtual functions. I think, however, I can implement inheritance for...

> Now if you aprove of these suggestions I'll get on to implementing them. Absolutely, feel free to fork and PR - I'm interested to see how good this lib...

The code itself should be more or less ok as is, but there is a typo in the comment - I reserve "two" bytes for the current file index, not...

It does work with the ESP32, try using `struct __attribute__((packed))` when creating structs to transfer

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?

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

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...

Here's the link: [https://github.com/PowerBroker2/CSerialTransfer](https://github.com/PowerBroker2/CSerialTransfer)

@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](https://github.com/PowerBroker2/SerialTransfer/tree/master/examples) whos...

If it's only going to be applied to PacketCRC and no other sub-lib, let's just go with the private struct option. Also, how do I test your code without merging?...