[ESC+RK] RFID Write (ISO/IEC14443 TypeA) [NX/LX]
Hexadecimal code
| ESC | <1B>16 |
|---|---|
| RK | <52>16<4B>16 |
Parameter
Refer to Parameters page
Initial value
None
Valid range and term of command
| When power switch is OFF | The set command will not be maintained. |
| Valid range within items | The set parameter becomes invalid. |
| Valid range between items | The set parameter becomes invalid |
Function
Specifies the data to write on RFID tag that supports ISO/IEC14443 Type A.
Format
When setting NFC (NDEF) format user data
<RK>a(,b),NFC:x(,ict:xx)(,lck:xxxx)(,dlk:yyyyyy)(,spl:x)(,ptl:xx)(,ecd:x)(,lgc:aaaaa...aaaa)(,idt:xxx...xxx)(,ndd:mmmm,nnnnn...nnnn)(,hma:xxxxxxxxxxxx)(,dnm:aaaaa...aaaa)(,dcl:xxxxxx)(,scl:xxxx)(,ver:x,x)(,rfb:x)(,ssi:xxx,aaa...aaa)(,nky:xxx,aaa...aaa)(,atp:xxxx)(,etp:xxxx)(,amc:e)(,ams:hhh)(,amb:f)(,ame:g)(,nce:l)(,cfl:o)(,lma:ii)(,prt:j)(,acl:k)(,lim:p)(,apw:ssssssss)(pck:tttt)(,psw:ssssssss)(,sa0:uu)(,sa1:vv)(,sak:wwwww...wwww) (,aky:wwwww...wwww)(,fsw:r)
When setting free format user data / when there is no user data
<RK>a(,b),Dmmmm,n...n(,NFC:f)(,ict:xx)(,wsb:sss)(,lck:xxxx)(,dlk:yyyyyy)(,amc:e)(,ams:hhh)(,amb:f)(,ame:g)(,cfl:o)(,lma:iii)(,prt:j)(,acl:k)(,lim:p)(,apw:ssssssss)(pck:tttt)(,psw:ssssssss)(,sa0:uu)(,sa1:vv)(,sak:wwwww...wwww)(,aky:wwwww...wwww)(,fsw:r)
Note: Typical parameters are shown in the format examples above. Refer to the next item for detailson the parameters.
-
Parameter
| Specification of inlay type | |
|---|---|
| a | Valid range for models with module supporting ISO/IEC14443 TypeA:1
1:NTAG, MIFARE, my-d (supports NFC) |
| Ignore RFID tag error (omissible) | |||||||
|---|---|---|---|---|---|---|---|
| b |
Note 1: If this parameter is omitted, the number of retries set under the menu Interfaces -> RFID -> Retries ([DC2]PA's identifier IF, MAX_RETRY_LABEL) is applied instead. Note 2: Do not omit this parameter or change its value, in the middle of successive <RK> command items. Also, do not send a <TU> command item continuously after a <RK> command item with this parameter. They will result in not guaranteed operation when a tag error occurs. |
||||||
| Data input format + number of data to write in bytes | ||
|---|---|---|
| Dmmmm
or dmmmm |
Number of data to write
"D" or "d" shows that this field is for specifying the number of data to write. Capital "D" indicates that the data is in ASCII, lower-case "d" indicates the write data is in HEX. Specify the length of data in bytes with the number (mmmm) that comes after "D" or "d". |
This parameter is used when data is set without using free format or no user data.
Specifies the number of bytes for the next parameter "n:data array to write". This portion should be written in bytes, so the number specified for this field will not change regardless of data format, whether ASCII or HEX. Specify 0 if there is no data to write to user memory, in which case specify nothing but the comma for the succeeding "n: data array to write". |
| Data array to write | |||
|---|---|---|---|
| n | Data array to write |
This parameter is used when data is set without using free format or no user data.
The character code and maximum number of characters varies depending on the data input/output format (ASCII/HEX) as below: |
|
| ASCII | Range of available character codes: (00H) - (FFH)
See "Mapping table of IC chip type, number of blocks and total capacity" for the valid number of characters. It can be specified by unit of 1 character, so it is the same as maximum number of bytes allowed for each IC chip. |
||
| HEX | Range of available character codes: 0 (30H) - 9 (39H), A (41H) - F (46H)
Specify digits with multiples of 2. The number of valid characters would be twice the number of characters available for the maximum number of bytes for each IC chip, mentioned in "Mapping table of IC chip type, number of blocks and total capacity". |
||
| Specifying NFC (NDEF) format | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NFC: | Specify this parameter when you set data in NDEF (NFC Data Exchange Format) format stipulated by NFC forum.
Valid range: 1-6,f [When setting NFC (NDEF) format user data]
[When setting free format user data]
Note: Of a case and the user data that user data is not NDEF form when there is not it, this designation is unnecessary. |
||||||||||||||||||
Parameters can be specified in any order from here.
| IC chip type (The default is, IC chip type become 00 "NTAG203") | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ict: | Specify IC chip type to write data. The maximum number of bytes depends on the type of chip specified here.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Availability of various omissible parameters for each product (except for Ignore RFID tag error and IC chip type)
|
IC Chip type |
00 | 01 | 03 | 04 | 05 | 30 | 31 | 33 | 62 | |
|
Product |
NTAG 203 |
NTAG 210 |
NTAG 213 |
NTAG 215 |
NTAG 216 |
MIFARE |
MIFARE |
MIFARE |
my-d move NFC |
|
|
Parameter |
wsb | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| lck | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | |
| dlk | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| spl | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | |
| ptl | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | |
| ecd | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | |
| lgc | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | |
| idt | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | |
| ndd | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | |
| hma | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| dnm | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| dcl | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| scl | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| ver | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| rfb | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| ssi | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| nky | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| atp | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| etp | Yes | No | Yes | Yes | Yes | No | No | Yes | Yes | |
| amc | No | No | Yes | Yes | Yes | No | No | No | No | |
| ams | No | Yes | Yes | Yes | Yes | No | No | No | No | |
| amb | No | Yes | Yes | Yes | Yes | No | No | No | No | |
| ame | No | No | Yes | Yes | Yes | No | Yes | No | No | |
| nce | No | No | Yes | Yes | Yes | No | No | No | No | |
| cfl | No | No | Yes | Yes | Yes | No | No | No | No | |
| lma | No | Yes | Yes | Yes | Yes | No | Yes | No | No | |
| prt | No | Yes | Yes | Yes | Yes | No | Yes | No | Yes | |
| acl | No | Yes | Yes | Yes | Yes | No | Yes | No | No | |
| lim | No | Yes | Yes | Yes | Yes | No | Yes | No | Yes | |
| apw | No | Yes | Yes | Yes | Yes | No | Yes | No | Yes | |
| pck | No | Yes | Yes | Yes | Yes | No | Yes | No | No | |
| psw | No | Yes | Yes | Yes | Yes | No | Yes | No | Yes | |
| sa0 | No | No | No | No | No | No | No | Yes | No | |
| sa1 | No | No | No | No | No | No | No | Yes | No | |
| sak | No | No | No | No | No | No | No | Yes | No | |
| aky | No | No | No | No | No | No | No | Yes | No | |
| fsw | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | |
Yes: Operable No: Inoperable (command error occurs)
| Parameters related to specify block to start writing (omissible) | ||
|---|---|---|
| wsb: | Specify block to start writing | Specifies the block to start writing the data. Block is a unit to write to user memory. The following values in the table are allowed based on the type of inlays. A maximum up to 3 digits in decimal can be specified. A parameter error will occur if it exceeds the maximum amount for the specified inlay. Please see the following table. |
| Take note that the parameters related to write starting block cannot be used for writing data in NFC (NDEF) format. | ||
| Parameters for Block Lock (omissible) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lck: | Static lock | It is possible to control 12 blocks worth of user memory for the specified blocks. Please set a fixed, 4-digit hexadecimal.
See bit image as below.
CC: Block that indicate inlay specification There are 2 types of locking, locking by each block (L) and block locking (BL) 6 blocks together. The numbers indicate the number of block to be locked. The specified block will be write protected when you specify 1 in place of L (will be made read-only). The target range of blocks will be fixed with the current restrictions when you specify 1 in place of BL. The block without L-lock cannot be made read-only, so it will constantly be read-write. At the same time, you specify the L and BL for the same block, the target block is read-only reduction. Coding Sample Format where the setup to ignore RFID tag error is omitted when recording 10byte characters of "AAAA1111BB" in block position of user memory 8 in NTAG213 RFID tag, and locking sequential four blocks (read only) at the same time.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| dlk: | Dynamic lock | Allows 13th block and beyond to be controlled when user memory capacity is over 12 blocks.
Please set a fixed, 6-digit hexadecimal. Please set a 4-digit hexadecimal for NTAG203 and MIFARE Ultralight-C Set an 8-digit hexadecimal for my-d move NFC. There are two types of bit images, locking multiple blocks (L) and block-locking multiple blocks (BL). It depends on the product as to which block will be allocated for each bit (See the following bit image chart for specifying dynamic block lock) The specified block will be write protected when you specify 1 in place of L (will be made read-only). The target range of blocks will be fixed with the current restrictions when you specify 1 in place of BL. The block without L-lock cannot be made read-only, so it will constantly be read-write At the same time, you specify the L and BL for the same block, the target block is read-only reduction. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Note that once locking the target with 1, you cannot set 0 to clear it. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Product | Byte position | bit 7 | bit 6 | bit 5 | bit 4 | bit 3 | bit 2 | bit 1 | bit 0 |
|---|---|---|---|---|---|---|---|---|---|
| NTAG203(*1) | 1st byte | L36-39 | L32-35 | L28-31 | BL28-39 | L24-27 | L20-23 | L16-19 | BL16-27 |
| 2nd byte | x | x | x | L41(*3) | x | x | x | BL41(*3) | |
| NTAG213 | 1st byte | L30-31 | L28-29 | L26-27 | L24-25 | L22-23 | L20-21 | L18-19 | L16-17 |
| 2nd byte | x | x | x | x | L38-39 | L36-37 | L34-35 | L32-33 | |
| 3rd byte | x | x | BL38-39 | BL32-35 | BL28-31 | BL24-27 | BL20-23 | BL16-19 | |
| NTAG215 | 1st byte | L128-129 | L112-127 | L96-111 | L80-95 | L64-79 | L48-63 | L32-47 | L16-31 |
| 2nd byte | x | x | x | x | x | x | x | x | |
| 3rd byte | x | x | x | x | BL112-129 | BL80-111 | BL48-79 | BL16-47 | |
| NTAG216 | 1st byte | L128-143 | L112-127 | L96-111 | L80-95 | L64-79 | L48-63 | L32-47 | L16-31 |
| 2nd byte | x | x | L224-225 | L208-223 | L192-207 | L176-191 | L160-175 | L144-159 | |
| 3rd byte | x | BL208-225 | BL176-207 | BL144-175 | BL112-143 | BL80-111 | BL48-79 | BL16-47 | |
| MIFARE Ultralight-C(*1) |
1st byte | L36-39 | L32-35 | L28-31 | BL28-39 | L24-27 | L20-23 | L16-19 | BL16-27 |
| 2nd byte | L44-47(*3) | L43(*3) | L42(*3) | L41(*3) | BL44-47(*3) | BL43(*3) | BL42(*3) | BL41(*3) | |
| my-d move NFC(*2) |
1st byte | L23 | L22 | L21 | L20 | L19 | L18 | L17 | L16 |
| 2nd byte | L31 | L30 | L29 | L28 | L27 | L26 | L25 | L24 | |
| 3rd byte | x | x | x | x | L35 | L34 | L33 | L32 | |
| 4th byte | x | x | x | x | BL31-55 | BL26-30 | BL21-25 | BL16-20 |
- NTAG203 and MIFARE Ultralight-C have no bit image of the 3rd byte
- my-d move NFC only has a bit image of the 4th byte
- This is a lock for the configuration data setting area
| Block position (decimal notation) |
Content | Remarks |
|---|---|---|
| 0~2 | Manufacturer data / Static block lock setting area | |
| 3 | CC | lck: range |
| 4~15 | User memory 0~11 | |
| 16~n | User memory 12~m | dlk: range (n/m is different by chip type) |
| n+1~n+5 | Dynamic block lock / Configuration data setting area |
| Parameters related to NFC (NDEF) support (omissible) | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spl: | Specify format of detailed record | Furthermore, specify the user data format in the case of NFC:3.
* For smart poster, make sure to specify the URI record. As other records are treated as options, specify if necessary. |
|||||||||||||||||||
| ptl: | Protocol | For NFC:1 or NFC:3 (spl:1), specify the protocol (scheme) corresponding number to 1-3 digit decimal.
The valid range is 1-255 (refer to the table of "Setting value of protocol (ptl:)" ). * Considering the extensibility of the function, only the valid range is checked instead of its content. |
|||||||||||||||||||
| ecd: | Character code | For NFC:2 or NFC:3 (spl:2), specify the character code.
Valid range 0-1
|
|||||||||||||||||||
| lgc: | Language code | For NFC:2 or NFC:3 (spl:2), specify the name that complies with RFC5646 to 2-63 digit.
Usable characters are 0-9, A-Z, a-z and - (hyphen). E.g.: French (fr), Japanese (ja), English (en), American English (en-US) |
|||||||||||||||||||
| idt: | Icon data type | For NFC:3 (spl:4), specify the icon data type to MIME type that complies with RFC2046. 1 - 64 digits.
E.g.: PNG image⇒[image/png] |
|||||||||||||||||||
| ndd: | Write user data | Specify user data. Command error will occur if this is not specified. The size information for the data area is required before the data. For example, if the data size was 64, it should be specified as ndd:64,abcde....
|
|||||||||||||||||||
| ver: | Version | For NFC:4-6, specify the handover version number to decimal.
Specify major and minor numbers delimited by a period character. For example, specify as ver:2.1 if the major number is 2 and minor number is 1. Note: It is possible to specify 2 versions when NFC:6. One will be reflected to Bluetooth record, and the other will be reflected to Wi-Fi record. The version will not be reflected to Wi-Fi record if you have specified only one. * Check items shall be limited to if the number of digits are 3-5 and if the major/minor numbers are 15 or smaller. Number of periods shall be limited as one. |
|||||||||||||||||||
| hma: | MAC Address for handover | For NFC:4-6, specify the MAC address to a fixed 12-digit hexadecimal.
Note: It is possible to specify 2 MAC addresses when NFC:6. One will be reflected to Bluetooth record, and the other will be reflected to Wi-Fi record. The version will not be reflected to Wi-Fi record if you have specified only one. |
|||||||||||||||||||
| dnm: | Device name | For NFC:4 or NFC:5 - 6 (wcc:1), specify the device name.
Specify a string within 16 characters from 0-9, A-Z, a-z, - (hyphen) and _ (underscore). |
|||||||||||||||||||
| dcl: | Class of Device | For NFC:4, specify the device class to a fixed 6-digit hexadecimal.
* Considering the extensibility of the function, only the digit number is checked instead of its content. Specify service code for the first 2 digits (refer to "Service code of the device class" table in 12.3.1 (14443 TypeA<RK>)). Specify major device class for 3, 4 digits and the last 2 digits for minor device class (refer to "Major device class and minor device class of the device class" table in 12.3.1 (14443 TypeA<RK>)). E.g.
|
|||||||||||||||||||
| scl: | Service Class UUID | For NFC:4, specify more than 1 service class (refer to "Service class" table).
Specify to hexadecimal which digit is 4's multiples. * Considering the extensibility of the function, only the digit number is checked instead of its content. E.g.
Up to 8 service classes can be specified. |
|||||||||||||||||||
| rfb: | RF Bands | For NFC: 5-6, specify the wireless frequency band when using Wi-Fi to a fixed 2-digit hexadecimal.
* Number of digits only shall be checked instead of checking the entire contents, considering the function scalability. |
|||||||||||||||||||
| ssi: | SSID | For NFC: 5-6, specify the recognition name of the access point to 1 - 32 digit.
Usable characters are 0-9, A-Z, a-z and the following symbols: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ * Space cannot be used. The size information of the front data delimited by a comma is necessary. For example if the data size is 32, specify as ssi:32,abcde... |
|||||||||||||||||||
| nky: | Network Key | For NFC: 5-6, specify the network key of the access point to 8 - 63 digit.
Usable characters are 0-9, A-Z, a-z and the following symbols: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~ * Space cannot be used. The size information of the front data delimited by a comma is necessary. For example if the data size is 8, specify as nky:8,AbCdEfGh. |
|||||||||||||||||||
| atp: | Authentication Type | For NFC: 5-6, specify the authentication type of the access point to a fixed 4-digit hexadecimal.
Valid range: 0001-FFFF (refer to "Setting value of the authentication type" table.) * Considering the extensibility of the function, only the digit number is checked instead of its content. |
|||||||||||||||||||
| etp: | Encryption Type | For NFC: 5-6, specify the encryption type of the access point to a fixed 4-digit hexadecimal.
Valid range: 0001-FFFF (refer to "Setting value of the encryption type" table.) * Considering the extensibility of the function, only the digit number is checked instead of its content. |
|||||||||||||||||||
|
|||||||||||||||||||||
NFC (NDEF) formats and availabilities for each parameter
| NFC (NDEF) format (NFC:) |
1: URI | 2: TEXT | 3: Smart poster |
4: Handover (Bluetooth) |
5: Handover (Wi-Fi) |
|
|---|---|---|---|---|---|---|
| Parameter | spl | No | No | Yes | No | No |
| ptl | Yes | No | See below | No | No | |
| ecd | No | Yes | No | No | ||
| lgc | No | Yes | No | No | ||
| idt | No | No | No | No | ||
| ndd | Yes | Yes | No | No | ||
| ver | No | No | No | Yes | Yes | |
| hma | No | No | No | Yes | Yes | |
| dnm | No | No | No | Yes | No | |
| dcl | No | No | No | Yes | No | |
| scl | No | No | No | Yes | No | |
| rfb | No | No | No | No | Yes | |
| ssi | No | No | No | No | Yes | |
| nky | No | No | No | No | Yes | |
| atp | No | No | No | No | Yes | |
| etp | No | No | No | No | Yes | |
* If handover (mixture of Bluetooth/Wi-Fi) (NFC:6) is specified, the following combinations can be used.
- Bluetooth + Wi-Fi (WSC)
Detailed record for smart poster
| Format (spl:) |
1: URI | 2: Title | 3: Action | 4: Icon | |
|---|---|---|---|---|---|
| Parameter | ptl | Yes | No | No | No |
| ecd | No | Yes | No | No | |
| lgc | No | Yes | No | No | |
| idt | No | No | No | Yes | |
| ndd | Yes | Yes | Yes | Yes | |
Various setting value for each parameter
- Setting value of protocol (ptl:)
- Setting value of Class of Device (dcl:)
- Major device classes and minor device classes of device class (dcl:)
- Setting value of Service Class UUID (scl:)
- Setting value of Authentication Type (atp:)
- Setting value of Encryption Type (etp:)
| Value | Protocol | value | Protocol |
|---|---|---|---|
| 1 | http://www. | 2 | https://www. |
| 3 | http:// | 4 | https:// |
| 5 | tel: | 6 | mailto: |
| 7 | ftp://anonymous:anonymous@ | 8 | ftp://ftp. |
| 9 | ftps:// | 10 | sftp:// |
| 11 | smb:// | 12 | nfs:// |
| 13 | ftp:// | 14 | dav:// |
| 15 | news: | 16 | telnet:// |
| 17 | imap: | 18 | rtsp:// |
| 19 | urn: | 20 | pop: |
| 21 | sip: | 22 | sips: |
| 23 | tftp: | 24 | btspp:// |
| 25 | btl2cap:// | 26 | btgoep:// |
| 27 | tcpobex:// | 28 | irdaobex:// |
| 29 | file:// | 30 | urn:epc:id: |
| 31 | urn:epc:tag: | 32 | urn:epc:pat: |
| 33 | urn:epc:raw: | 34 | urn:epc: |
| 35 | urn:nfc: | 36-255 | reserved |
| Code | Data type name |
|---|---|
| 01 | Positioning (Location identification) |
| 02 | Networking (LAN, Ad Hoc, ...) |
| 04 | Rendering (Printing, Speakers, ...) |
| 08 | Capturing (Scanner, Microphone, ...) |
| 10 | Object Transfer (v-Inbox, v-Folder, ...) |
| 20 | Audio (Speaker, Microphone, Headset service, ...) |
| 40 | Telephony (Cordless telephony, Modem, Headset service, ...) |
| 80 | Information (WEB-server, WAP-server, ...) |
| Major Device Classes: Code |
Major Device Classes: Data type name |
Minor Device Class: Code |
Minor Device Class: Data type name |
|---|---|---|---|
| 01 | Computer (desktop, notebook, PDA, organizer, ... ) | 04 | Desktop workstation |
| 08 | Server-class computer | ||
| 0C | Laptop | ||
| 10 | Handheld PC/PDA (clamshell) | ||
| 14 | Palm-size PC/PDA | ||
| 18 | Wearable computer (watch size) | ||
| 1C | Tablet | ||
| 00 | Uncategorized, code for device not assigned | ||
| 02 | Phone (cellular, cordless, pay phone, modem, ...) | 04 | Cellular |
| 08 | Cordless | ||
| 0C | Smartphone | ||
| 10 | Wired modem or voice gateway | ||
| 14 | Common ISDN access | ||
| 00 | Uncategorized, code for device not assigned | ||
| 03 | LAN/Network Access point | 20 | 1% to 17% utilized |
| 40 | 17% to 33% utilized | ||
| 60 | 33% to 50% utilized | ||
| 80 | 50% to 67% utilized | ||
| A0 | 67% to 83% utilized | ||
| C0 | 83% to 99% utilized | ||
| E0 | No service available | ||
| 00 | Fully available | ||
| 04 | Audio/Video (headset, speaker, stereo, video display, VCR, ...) | 04 | Wearable Headset Device |
| 08 | Hands-free Device | ||
| 10 | Microphone | ||
| 14 | Loudspeaker | ||
| 18 | Headphones | ||
| 1C | Portable Audio | ||
| 20 | Car audio | ||
| 24 | Set-top box | ||
| 28 | HiFi Audio Device | ||
| 2C | VCR | ||
| 30 | Video Camera | ||
| 34 | Camcorder | ||
| 38 | Video Monitor | ||
| 3C | Video Display and Loudspeaker | ||
| 40 | Video Conferencing | ||
| 48 | Gaming/Toy | ||
| 00 | Uncategorized, code not assigned | ||
| 05 | Peripheral (mouse, joystick, keyboard, ... ) | 04 | Joystick |
| 08 | Gamepad | ||
| 0C | Remote control | ||
| 10 | Sensing device | ||
| 14 | Digitizer tablet | ||
| 18 | Card Reader (e.g. SIM Card Reader) | ||
| 1C | Digital Pen | ||
| 20 | Handheld scanner for bar-codes, RFID, etc. | ||
| 24 | Handheld gestural input device (e.g., "wand" form factor) | ||
| 40 | Keyboard (above mentioned 0x04-0x24 plus) | ||
| 80 | Pointing device (above mentioned 0x04-0x24 plus) | ||
| C0 | Combo keyboard / pointing device (above mentioned 0x04-0x24 plus) | ||
| 00 | Uncategorized device | ||
| 06 | Imaging (printer, scanner, camera, display, ...) | 10 | Display |
| 20 | Camera | ||
| 40 | Scanner | ||
| 80 | Printer | ||
| 07 | Wearable | 04 | Wristwatch |
| 08 | Pager | ||
| 0C | Jacket | ||
| 10 | Helmet | ||
| 14 | Glasses | ||
| 08 | Toy | 04 | Robot |
| 08 | Vehicle | ||
| 0C | Doll / Action figure | ||
| 10 | Controller | ||
| 14 | Game | ||
| 09 | Health | 04 | Blood Pressure Monitor |
| 08 | Thermometer | ||
| 0C | Weighing Scale | ||
| 10 | Glucose Meter | ||
| 14 | Pulse Oximeter | ||
| 18 | Heart/Pulse Rate Monitor | ||
| 1C | Health Data Display | ||
| 20 | Step Counter | ||
| 24 | Body Composition Analyzer | ||
| 28 | Peak Flow Monitor | ||
| 2C | Medication Monitor | ||
| 30 | Knee Prosthesis | ||
| 34 | Ankle Prosthesis | ||
| 38 | Generic Health Manager | ||
| 3C | Personal Mobility Device | ||
| 00 | Undefined | ||
| 0F | Uncategorized: device code not specified | 00 | Uncategorized, code for device not assigned |
| All other values | reserved | All other values | reserved |
| Code | Service class name | Code | Service class name |
|---|---|---|---|
| 1000 | ServiceDiscoveryServerServiceClassID | 1001 | BrowseGroupDescriptorServiceClassID |
| 1101 | SerialPort | 1102 | LANAccessUsingPPP |
| 1103 | DialupNetworking | 1104 | IrMCSync |
| 1105 | OBEXObjectPush | 1106 | OBEXFileTransfer |
| 1107 | IrMCSyncCommand | 1108 | Headset |
| 1109 | CordlessTelephony | 110A | AudioSource |
| 110B | AudioSink | 110C | A/V_RemoteControlTarget |
| 110D | AdvancedAudioDistribution | 110E | A/V_RemoteControl |
| 110F | A/V_RemoteControlController | 1110 | Intercom |
| 1111 | Fax | 1112 | Headset - Audio Gateway (AG) |
| 1113 | WAP | 1114 | WAP_CLIENT |
| 1115 | PANU | 1116 | NAP |
| 1117 | GN | 1118 | DirectPrinting |
| 1119 | ReferencePrinting | 111A | Basic Imaging Profile |
| 111B | ImagingResponder | 111C | ImagingAutomaticArchive |
| 111D | ImagingReferencedObjects | 111E | Handsfree |
| 111F | HandsfreeAudioGateway | 1120 | DirectPrintingReferenceObjectsService |
| 1121 | ReflectedUI | 1122 | BasicPrinting |
| 1123 | PrintingStatus | 1124 | HumanInterfaceDeviceService |
| 1125 | HardcopyCableReplacement | 1126 | HCR_Print |
| 1127 | HCR_Scan | 1128 | Common_ISDN_Access |
| 112D | SIM_Access | 112E | Phonebook Access - PCE |
| 112F | Phonebook Access - PSE | 1130 | Phonebook Access |
| 1131 | Headset - HS | 1132 | Message Access Server |
| 1133 | Message Notification Server | 1134 | Message Access Profile |
| 1135 | GNSS | 1136 | GNSS_Server |
| 1137 | 3D Display | 1138 | 3D Glasses |
| 1139 | 3D Synchronization | 113A | MPS Profile UUID |
| 113B | MPS SC UUID | 1200 | PnPInformation |
| 1201 | GenericNetworking | 1202 | GenericFileTransfer |
| 1203 | GenericAudio | 1204 | GenericTelephony |
| 1205 | UPNP_Service | 1206 | UPNP_IP_Service |
| 1300 | ESDP_UPNP_IP_PAN | 1301 | ESDP_UPNP_IP_LAP |
| 1302 | ESDP_UPNP_L2CAP | 1303 | VideoSource |
| 1304 | VideoSink | 1305 | VideoDistribution |
| 1400 | HDP | 1401 | HDP Source |
| 1402 | HDP Sink | All other values | reserved |
| Value | Type |
|---|---|
| 0001 | Open (Default) |
| 0002 | WPA-Personal |
| 0004 | Shared |
| 0008 | WPA-Enterprise |
| 0010 | WPA2-Enterprise |
| 0020 | WPA2-Person |
| All other values | reserved |
| Value | Type |
|---|---|
| 0001 | None (Default) |
| 0002 | WEP |
| 0004 | TKIP |
| 0008 | AES |
| 000C | AES/TKIP |
| All other values | reserved |
Reference: NDEF record image for storage location
- URI format, TEXT format

1 record per 1 user data
- Smart poster

Multiple records are stored for 1 user data.
At least one URI format record needs to be stored here.
- Handover (Bluetooth)

- Handover (Wi-Fi)

- Handover (mixture of Bluetooth/Wi-Fi)

| Parameters related to ASCII mirroring (omissible) | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amc: | Specify ASCII mirroring data | Specify the original data to reflect to user data.
|
||||||||||||||||||
| ams: | Specify the page to start ASCII mirroring | Specify which page to start reflecting from in the user memory for the data specified with amc.
Valid range: 0-255, a 3-digit decimal A parameter error will occur when a value that exceeds specified inlay capacity is specified.
-: No ASCII mirroring |
||||||||||||||||||
| amb: | Specify start byte for ASCII mirroring | Specify start byte to reflect the page specified in ams.
Valid range: 0-3 |
||||||||||||||||||
|
When specifying these parameters,it is necessary to consider the character number reflected by the user data.
When accessing the tag with this setting, the following is reflected.
* For NTAG213, NTAG215 and NTAG216, the data specified by amc: is reflected. However, for NTAG210 and NTAG212, as there is no NFC counter structurally, UID will be reflected automatically. |
||||||||||||||||||||
| Parameters modulation mode (omissible) | ||||||||
|---|---|---|---|---|---|---|---|---|
| ame: | modulation mode | Defines the modulation mode.
|
||||||
| Parameters related to NFC counter (omissible) | ||||||||
|---|---|---|---|---|---|---|---|---|
| nce: | NFC counter update | CFG1:ACCESS:NFC_CNT_EN
Sets availability of NFC counter automatic update.
|
||||||
| cfl: | NFC counter
password restriction |
CFG1:ACCESS:NFC_CNT_PWD_PROT
Sets availability of NFC counter password restriction.
|
||||||
| Parameters related to configuration for authentication (omissible) | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lma: | Set address for password-lock | Sets the address to the block that requires password check.
Valid range: 0-255, 3-digit decimal A parameter error will occur if a value exceeding specified inlay capacity is specified. If set the address for password-lock (lma:), password confirmation will be required not only for the specified user memory range
-: No password
|
||||||||||||||||||||||||||||||
| prt: | Set protection format | Sets the type of restriction.
Note: When, for "my-d move NFC ," I perform this designation regardless of a set point,
|
||||||||||||||||||||||||||||||
| acl: | Lock authentication configuration information | Locks authentication configuration except for password.
Unlockable after locking.
|
||||||||||||||||||||||||||||||
| lim: | Set number of retries for authentication | Sets number of retries when password authentication fails.
Valid range: 0-7 Note: When it is in the case that set 7 and a value equivalent to 7 by multiple setting for "my-d move NFC", I cannot change it. |
||||||||||||||||||||||||||||||
| Parameters related to access password (omissible) | ||
|---|---|---|
| apw: | Access password | Specify an 8-digit fixed hexadecimal when you want to lock/read-protect with password. |
| pck: | Set data to return when password confirmation is successful | Specify a 4-digit fixed hexadecimal data to return when the password check is successful |
| psw: | Specify unlock password | Specify the same numerals used to lock the area which is password locked/read-locked. |
| sa0: | Access restriction area | Specify a 2-digit fixed decimal within 00-35 for the block to protect, dedicated for MIFARE Ultralight C. |
| sa1: | Access restriction method | Specify the contents of restriction dedicated for MIFARE Ultralight C.
00: read-write protect 01: write protect |
| sak: | Specify access password | Specify a 32-character fixed hexadecimal when locking/read-protecting with password, dedicated for MIFARE Ultralight C. |
| aky: | Specify unlock password | Specify the same numerals used to lock the area which is password locked/read-locked, dedicated for MIFARE Ultralight C. |
| Parameters related to feed control (omissible) | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| fsw: | Feed without printing | Usually, for RFID write item without print data, only writing of RFID data is performed, and the label is not fed.
If no transport occurs, the write result will be notified by a buzzer (success: two short beeps, failure: six short beeps). |
||||||||||||
Coding sample 1 (When setting NFC (NDEF) format user data)
Registering "http://www.sato.com" in URI format to NTAG210 RFID tag, omitting the ignore RFID tag error parameter

Coding sample 2 (When setting NFC (NDEF) format user data)
When recording the URI "https://www.sato2.co.jp" and text "OMP" in smart poster format to MIFARE Ultralight RFID tag in UTF-8 English (en)

Coding sample 3 (When setting NFC (NDEF) format user data)
When recording the following data in handover format (Bluetooth) in NTAG215 RFID tag, omitting the ignore RFID tag error parameter:
Version: 2.1
Device address: 01:02:03:04:05:06
Device class: "DeviceName"
Class of Device: Phone / Smartphone
Service classes: Telephony


Coding sample 4 (When setting NFC (NDEF) format user data)
When recording the following data to RFID tag of my-d move NFC with handover (Wi-Fi WSC) format, omit the ignore RFID tag error parameter:
Version: 2.1
MAC Address: 01:02:03:04:05:06
RF Band: 2.4GHz
SSID: DeviceName
Network key: abcdefgh
Authentication Type: WPA-Personal
Encryption Type: WEP



Coding sample 5 (data format set to ASCII)
When writing 13-byte characters "4912345678904" to NTAG203 RFID tag, with "Ignore RFID tag error" omitted
<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D13,4912345678904
<Q>2
<Z>
Specify the block to start writing with wsb: and write data to the subsequent blocks in order
XXX indicates the data that existed before writing
| Block | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | … | 41 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Data | 4912 | 3456 | 7890 | 4XXX | The data of the blocks that are not written is kept | |||||||
Coding sample 6 (data format set to HEX)
When writing 13-byte characters "4912345678904" to NTAG210 RFID tag, with "Ignore RFID tag error" omitted
<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,d13,34393132333435363738393034,ict:01
<Q>2
<Z>
Coding sample 7 (data format set to ASCII)
In case where 13 bytes characters [4912345678904] is recorded to RFID tag of MIFARE Ultralight from block of user memory 5, with "Ignore RFID tag error" omitted
<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D13,4912345678904,ict:30,wsb:5
<Q>1
<Z>
Specify the block to start writing with wsb: and write data to the subsequent blocks in order
XXX indicates the data that existed before writing
Refer to the ISO/IEC14443 Type A memory configuration
| Block | 0 | 1 | 2 | 3 | 4 | … | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Data | 4912 | 3456 | 7890 | 4XXX | The data of the blocks that are not written is kept | |||||||||
Coding sample 8 (data format set to ASCII)
When writing 13-byte characters "4912345678904" to NTAG213 RFID tag, locking 4 continuous blocks simultaneously with "Ignore RFID tag error" omitted
<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D13,4912345678904,lck:F000
<Q>2
<Z>
Specify the block to start writing with wsb: and write data to the subsequent blocks in order
XXX indicates the data that existed before writing
| Block | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | … | 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Data | 4912 | 3456 | 7890 | 4XXX | The data of the blocks that are not written is kept | |||||||
The locked (grayed out) part is specified with lck: for the locked block
Coding sample 9 (data format set to ASCII)
Format where the setup to ignore RFID tag error is omitted when recording 10byte characters of "AAAA1111BB" in block position of user memory8 in NTAG213 RFID tag, and locking sequential four blocks (read only) at the same time, with "Ignore RFID tag error" omitted
<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D10,AAAA1111BB,ict:00,wsb:8,lck:00F0
<Q>2
<Z>
Specify the block to start writing with wsb: and write data to the subsequent blocks in order
XXX indicates the data that existed before writing
| Block | 0 | 1 | … | 11 | 12 | 13 | 14 | 15 | 16 | 17 | … | 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Data | AAAA | 1111 | BBXX | The data of the blocks that are not written is kept | ||||||||
The locked (grayed out) part is specified with lck: for the locked block
Coding sample 10 (data format set to ASCII)
In case where 13 bytes characters of [4912345678904] is recorded to RFID tag of NTAG215 from a block of user memory 12 and target block is locked simultaneously (lock L and BL at the same time), with "Ignore RFID tag error" omitted.
<A>
<V>50<H>50<BD>3020654912345678904
<RK>1,D13,4912345678904,ict:04,wsb:12,dlk:010001
<Q>2
<Z>
Specify the block to start writing with wsb: and write data to the subsequent blocks in order
XXX indicates the data that existed before writing
Refer to the ISO/IEC14443 Type A memory configuration
| Block | 0 | 1 | … | 15 | 16 | 17 | 18 | 19 | 20 | … | 31 | 32 | … | 47 | 48 | … | 134 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Data | 4912 | 3456 | 7890 | 4XXX | The data of the blocks that are not written is kept | |||||||||||||
The locked (grayed out) part is specified with dlk: for the locked block
The locked (grayed-yellow out) part is specified with dlk: for the locked block
Supplemental explanation
- This command allows to print for continuous printing, cutter printing, dispenser printing and tear-off. However, when you specify cutter, dispenser motion No.2 and tear off, tag information write is available but information return will not be available.
- This command cannot be specified multiple times in between <A> (start of data transmission) through <Z> (end of data transmission).
- Contents of sequential printing or calendar cannot be written as information to the tag.
- The sent information and written information are verified before printing when information is written to tag with this command.
- The default value of parameter b is 0 (stop without ignoring tag error).
- If printing object doesn't exist for the print job that includes this command, printer only writes for RFID and doesn't feed label. The buzzer will sound 6 times if it fails to write to tag. If successful, the buzzer is sounded 2 times but does not feed the label. If you want to feed or print as blank label specify 1 for the "fsw: feed without printing" field.
- If 0 is specified in the fsw: parameter for the item without printing data: when sending this command, send it when the printer stops printing and the printing items are not available in the printer.
- Refer to the following chart if you want to specify the alphabet "A" in ASCII/HEX data formats.
Mode ASCII HEX Data 'A' "41" Code 41H 34H,31H



