Home Forums EasyTransfer Library Support Forum Suggestion: .end command to complement .begin Reply To: Suggestion: .end command to complement .begin


Yes, end would do you no good as it doesn’t free up RAM or free up the serial port, as it never really demands exclusive control anyway.

But if you are expecting different size structs with different ET objects, you can run into synchronization issues. If your receiver is expecting struct A but gets struct B, it will trash it as bad data.

I’ve been toying with the idea to allow user to ‘address’ structs in ET, giving you the ability to create multiple data sets that could be received, and reporting to the user which data set just came in. But since I haven’t seen many requests for this, it’s on the backburner.