Smcc

Latest version: v0.0.2

Safety actively analyzes 623657 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.0.2

This release solves a bug found when using the HALT and INFO commands with the `sendCommand` function.

For the step and setup commands, the controller always reply with the actions taken, if the actions replied by the controller matches the ones found on the sent command, the controller is working properly. Nevertheless, the commands HALT and INFO are somewhat different, so the controller gives some other information or acknowledge to the API. The old `sendCommand` function checks that every response matches the command, if not it raises an Exception. This was a problem because sending a HALT or INFO command resulted on an unwanted Exception. This is now fixed with the inclusion of a new parameter `check`, that indicates if the function must check symmetry in the response or not.


Everything was updated accordingly on the docs, hope this one works better!

Changelog

1. `sendCommand` function now includes a `check` parameter defaulted to true, that indicates if symmetry in the response must be enforced.
2. `HALT_CMD` now only sends one byte instead of three (1 command byte and 2 padding bytes).
3. `INFO_CMD` now only sends one byte instead of three (1 command byte and 2 padding bytes).

0.0.1

This is the first alpha release of the SMCC!

Hopefully it makes some motors spin in the right direction and doesn't break anything on the way there

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.