Open Xenoamor opened 5 years ago
I probably should have mentioned this, My apologies. The issue comes from a string limitation on the receiving code size. It parses out the string DPS side and only has so much memory allocated to the string buffer. The quick solution to this is to separate it out inside the python code. Handling this should probably be done in the communications portion where is processes the supplied arguments so that changing modes and setting values is also handled appropriately.
Thanks for the information @geekbozu this makes sense. I'm going to be doing some work on dpsctl.py
for #100 so I'll sort this out afterwards as it's fairly minor
If you try to issue too many calibration coefficients in one go the device fails to respond. I assume this is due to some max string length issue. This could either be fixed by the python tool splitting it up or the OpenDPS firmware permitting bigger strings
Splitting it up into separate commands works as expected