Skip to content

Update shimmer3r.py - #39

Merged
lumagi merged 1 commit into
seemoo-lab:hw_revisionfrom
JongChern:hw_revision
Feb 19, 2026
Merged

lumagi merged 1 commit into
seemoo-lab:hw_revisionfrom
JongChern:hw_revision

Conversation

@JongChern

Copy link
Copy Markdown
Contributor

pressure and temp sensor format update

image

pressure and temp sensor format update
@lumagi
lumagi merged commit d5d69e6 into seemoo-lab:hw_revision Feb 19, 2026
7 checks passed
lumagi added a commit that referenced this pull request Feb 20, 2026
* Current working state of Shimmer HardwareRevision

* Implement dedicated HardwareRevision class for Shimmer3

* Move revision module around and add license notices

* Implement test cases for Shimmer3 revision

* Add missing future annotations import

* Remove unused method in HardwareRevision

* Move ESensorGroup unique test to separate group

* Add more tests for HW Revision 3

* Add HardwareRevision to Bluetooth command constructors, reformat
docstrings

* Update Bluetooth Command Tests

* Fix some of the tests

* Move HardwareVersion into separate module

* Link the HardwareRevision to the HardwareVersion enum

* Update the Bluetooth API to use the new revision class

* Update revision handling in ShimmerBluetooth

* Update the BluetoothRequestHandler tests

* Fix HardwareVersion initialization

* Update Bluetooth tests

* Rewrite Bluetooth commands to use the revision class

* Rename EFirmwareType to FirmwareType

* Integrate get_firmware_type into FirmwareType enum

* Add missin byteorder flag for Python 3.9

* Shimmer3R (#36)

* add 3r support

* Update test_bt_commands.py

* Update test_bt_commands.py

* Update test_bt_commands.py

* Update test_bt_commands.py

* Update test_bt_commands.py

* Update test_bt_commands.py

* Update test_bt_commands.py

* Reformat code and optimize imports

* Refactor tests

* Fix tests for new revision

* Introduce dedicated Inquiry commands for different HW revisions

* Reverse coupling from HardwareVersion to HardwareRevision

* Implement RevisionRegistry class to look up revisions for HW versions

* Introduce HardwareRevision class into ShimmerBinaryReader

* Make BinaryReader hw revision available as property

* Introduce HW revision into ShimmerReader, add unwrapping fn to Revision

* Introduce revision class for ShimmerReader classes

* Add licence and annotations import to new module

* Introduce class-level variables to Registry for individual revisions

* Add missing import for ESensorGroup to pyshimmer __init__

* Remove uses of GLOBAL variables and functions in tests

* Remove uses of global channel functions and attributes from Dock API

* Migrate DockAPI test to pytest

* Remove further uses of channels attributes and functions

* Remove global functions and attributes in dev.base and dev.channels

* Update the Changelog

* Update shimmer3r.py (#39)

pressure and temp sensor format update

---------

Co-authored-by: JongChern <jongchern@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants