Closed omermesser closed 1 year ago
Hello - This project is no longer supported. Please checkout openc3 cosmos, which is now has full built-in python support. https://github.com/openc3/cosmos
Hello - This project is no longer supported. Please checkout openc3 cosmos, which is now has full built-in python support. https://github.com/openc3/cosmos
Hi, I understand it is not supported, but my teams already has a large project using COSMOS 4 and I'm struggling with this specific problem. Perhaps I could get assistance?
If you are interested in a support contract reach out to support@openc3.com. Note that we are not making any updates to the COSMOS 4 code, so it would just be help seeing if we can make it work, or maybe a patch file.
I'm trying to upload a file using a command that sends chunks of binary file.
One of the parameters of the cmd is the binary data itself. Another parameter is the data length (in bytes). I'm reading the file and sending the cmd with chunks of bytes multiple times (the chunk is is 1754 bytes).
the data of a chunk for example is:
b '\xdd\x00\x00\x00D3"\x11\x88wfU\xcc\xbb\xaa\x99fU\x99\xaaXNLX\x00\x00\x00\x00\x80\x0f...'
(the 3 dots in the example above and below are my change so that the issue will not be long)
now I'm getting this error saying the data sent is longer than specified:
How should I handle the bytes? it seems ballcosmos stringifys them.
this is the file handling:
cmdSend is a wrapper function of cmd function:
How should I handle the bytes? it seems ballcosmos stringifys them.