92
CipherLab BASIC Programming Part I
GET_RFID_KEY 8300, 8500
Purpose To get the security key of some specific tags.
Syntax A$ = GET_RFID_KEY(TagType %)
Remarks “A$” is a string variable to be assigned to the result.
“TagType%” is an integer variable, indicating a specific tag type that
security key is applied to.
This function is used to get the security key for some specific tags, such as
Mifare Standard 1K/4K and SLE66R35 tags.
Example
' get security key for MifareISO14443A tags
SET_RFID_KEY 8300, 8500
Purpose To set the security key of some specific tags.
Syntax SET_RFID_KEY(TagType%, KeyString$, KeyType%)
Remarks
“TagType%”
is an integer variable, indicating a specific tag type that the
security key is applied to.
1 TAG_ISO15693
2 TAG_Tagit
3 TAG_Icode
4 TAG_MifareISO14443A
5 TAG_SR176
6 TAG_ISO14443B
“KeyString$” is a string variable, indicating the security key you set.
“KeyType%” is an integer variable, indicating a specific key type.
1 KEYA (Key A)
2 KEYB (Key B)
This function is used to set security key for some specific tags, such as Mifare
Standard 1K/4K and SLE66R35 tags.
Example
SET_RFID_KEY(4, “111111111111”, 1)
' set security key (KEY A) for
Mifare ISO14443A tags