mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
Merge branch 'main' of https://github.com/RfidResearchGroup/ChameleonUltra
This commit is contained in:
@@ -1109,7 +1109,7 @@ class HWSlotNickSet(SlotIndexRequireUnit, SenseTypeRequireUnit):
|
||||
uname = name.encode(encoding="utf8")
|
||||
if len(uname) > 32:
|
||||
raise ValueError("Your tag nick name too long.")
|
||||
self.cmd.set_slot_tag_nick_name(slot_num, sense_type, name)
|
||||
self.cmd.set_slot_tag_nick_name(slot_num, sense_type, uname)
|
||||
print(f' - Set tag nick name for slot {slot_num} success.')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user