This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| import re | |
| import string | |
| import hashlib | |
| # adapted from https://www.eevblog.com/forum/testgear/unlocking-siglent-sds1104x-e-step-by-step/msg1973306/ | |
| def getkeys(scopeid, serialno, memdumpfile): | |
| """ | |
| Parse a memory dump from a Siglent 1000X-E oscilloscope and return a dict containing | |
| license keys. The 'activebw' key is the one that is currently active in the 'scope |