Endaq-device

Latest version: v1.2.0

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

Scan your dependencies

Page 1 of 2

1.2.0

Version 1.2.0 adds several new features supporting an upcoming firmware release.

* Support for finding and identifying devices connected via their serial command interface, but not mounted as drives (e.g., devices currently recording).
* Lock ID support in `CommandInterface` (`getLockID()`, `setLockID()`, `clearLockID()`): A weakly-enforced mechanism for one process to 'claim' a recording device.
* `CommandInterface.stopRecording()`: Devices that maintain a serial connection while recording can now be stopped via software.
* More consistent exception handling.
* More consistent use of command `callback` and `timeout` parameters.
* Various optimizations and minor bug fixes.
* Documentation and annotation improvements.

Additionally, several internal systems have been refactored for future firmware support. These should not affect functionality of existing code, provided it does not access 'private' attributes and methods.

1.1.1

What's Changed
* Improved thread safety.
* Callback functions and timeouts in the command interfaces now handled more consistently.
* Command status/response codes now use `enum`s; they are functionally identical, but more clear to humans.
* Various documentation fixes and improvements.

**Full Changelog**: https://github.com/MideTechnology/endaq-device/compare/1.1.0...1.1.1

1.1.0

* Several `CommandInterface` additions and changes were made. The changes may create minor incompatibilities with existing code that uses `Recorder.command`.
* The 'timeout' behavior for commands has been made more consistent. The `SerialCommandInterface` attribute `timeout` is now exclusively the low-level serial timeout, and is no longer the default timeout for some commands.
* Commands that do not require a response will return a response if one is received. These commands will still return `None` if no response is received before timing out.
* Added the `blink()` command, intended for indicating specific devices when multiple recorders are plugged in. Note that the current firmware does not support the command, and only devices with a `SerialCommandInterface` will accept it.
* `endaq.device.findDevice()` now has the keyword argument `chipId` for getting an attached recording device by its unique processor ID.
* Documentation has been expanded and improved.

1.0.8

* Added `available` property to `Recorder`, `CommandInterface`, and `ConfigInterface` to detect that a recorder is connected, ready for commands, and ready for configuration, respectively.
* Added `CommandInterface.awaitRemount()` (counterpart to `awaitReboot()`)
* Command and configuration error codes now use an `enum` - functionally the same, but response `repr()` are easier to read.
* Fixed formatting of MAC address string.
* Fixed `CommandInterface.updateESP32()`
* Added `LegacyFileCommandInterface` for old SlamStick recorders with firmware that supports recording but not file-based firmware updating (FwRev 17-19).
* Consolidated everything that's explicitly dependent on FwRev into `CommandInterface` and its subclasses.
* Added 6 more 'fake recorders' for testing, and standardized the fake recorder naming convention (`partNumber_FwRev`).

1.0.7

* Added `CommandInterface.getNetworkStatus()` and `CommandInterface.getNetworkAddress()`
* Added support for SafeLoad/innRecord-branded devices
* Documentation improvements

1.0.6

* Fixed an issue with new STM32-based S3-D16 devices
* Reformatted `hardwareVersion` display to match values used in manufacturing
* Added basic tests for the command interface (including a mockup to simulate the interface without hardware)
* Added generic CONFIG.UI for unrecognized device types
* Fixed some minor issues with the command interface
* Fixed some minor issues with the config interface

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.