feat: GetMac command + MacAddress response
New protocol command (tag 8): GetMac returns the board's 6-byte hardware address. Useful when multiple dongles are connected to one host. Response (tag 6): MacAddress containing 6 raw bytes. Updated: PROTOCOL.md, CHANGELOG, donglora.py decoder, all_commands.py.
This commit is contained in:
1 parent
d6087f278e
commit
ff43d72cfc
2 files changed
+10
-1
No files matched your search
+4
-1
@@ -42,7 +42,10 @@ try:
|
||||
print("\n── DisplayOn ──")
|
||||
print(dl.send(ser, "DisplayOn"))
|
||||
|
||||
print("\nAll 8 commands exercised successfully.")
|
||||
print("\n── GetMac ──")
|
||||
print(dl.send(ser, "GetMac"))
|
||||
|
||||
print("\nAll 9 commands exercised successfully.")
|
||||
|
||||
except KeyboardInterrupt:
|
||||
print("\nInterrupted.")
|
||||
|
||||
Reference in new issue
Block a user