STLINK-V3PWR API
I've started using the recently published UM3291 to have smoother workflows with my other acquisition tools
There are a few glitches that makes life a little bit more annoying than it should be.
- The first one beeing the prompt "stlp >", which has to be filtered out. A disable prompt would save some code.
Especially when using command during ascii streaming where it prefixes a measurement when sending a command like targrst.
- The new line configuration works better when setting CR or LF rather than CR+LF. Otherwise, there is one blank line after each line with content.
- The table 28 gives ascii data format. The example does not match that format.
According to the table, the lenght is always 8 characters. The example is 7 character long. The byte 6 is missing (-7, instead of -07).
- There should be a response pattern : [ack|error] [command] : [response]. Some commands do not match such a pattern, like whoami, echo, pwrend. Status command do match, but it does not appear clearly.
- Timestamp usage is hard to understand.
I understand that between the last received sample and the Timestamp message received a number of RecordId samples are missing. Thus, these samples can be replaced by the last known value or something else.
Is this correct ?
I'll test binary streaming later, when I understand the usage well enough in ascii mode.
Regards,
PM
