diff options
Diffstat (limited to 'home/dot_local/share/bin/executable_lsjlink')
| -rw-r--r-- | home/dot_local/share/bin/executable_lsjlink | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/home/dot_local/share/bin/executable_lsjlink b/home/dot_local/share/bin/executable_lsjlink new file mode 100644 index 0000000..bb7d8ee --- /dev/null +++ b/home/dot_local/share/bin/executable_lsjlink @@ -0,0 +1,11 @@ +#!/usr/bin/env python3 + +import pylink + +jlink = pylink.JLink() + +emulators = jlink.connected_emulators() + +for emu in emulators: + print(f"{emu.SerialNumber}: {emu.acProduct.decode('ascii')}") + |