A class representing an RFID write operation. More...
#include <PglRfid_Write.h>
Instance Methods | |
(instancetype) | - initWithMemBlock:data: |
Initializes a new instance of the PglRfid_Write class with the specified memory block and data. | |
(NSString *) | - description |
Returns a string that can be sent to the printer. | |
![]() | |
(instancetype) | - NS_DESIGNATED_INITIALIZER |
Additional Inherited Members | |
![]() | |
RfidMemBlockEnum | memory |
NSString * | password |
RfidPasswordTypeEnum | passwordType |
int | offsetFromStart |
NSString * | data |
![]() | |
RfidMemBlockEnum | memory |
The memory type to access. Note that not all memory types are writable. For example, the TID (Tag Identification) is typically read-only. | |
![]() | |
int | offsetFromStart |
Optional word offset (16 bits per count) if access to memory that is not the starting position of memory bank. | |
NSString * | data |
Rfid data field. In Most Significant Bits (MSB) to Least Significant Bits (LSB) (left to right). Hex formatted data. | |
![]() | |
RfidPasswordTypeEnum | passwordType |
Select type of password for memory access. | |
NSString * | password |
Optional password for tags that support it. | |
A class representing an RFID write operation.
This class inherits from ARfidWrite and provides functionality for initializing and describing an RFID write operation.
- (NSString *) description |
Returns a string that can be sent to the printer.
This method generates a string representation of the PglRfid_Write instance that is formatted and ready to be sent to a printer. The string includes all the necessary commands and data required for printing.
Reimplemented from ARfidWrite.
- (instancetype) initWithMemBlock: | (RfidMemBlockEnum) | memBlock | |
data: | (NSString *) | data |
Initializes a new instance of the PglRfid_Write class with the specified memory block and data.
memBlock | The memory block to write to. |
data | The data to be written. |
Reimplemented from ARfidWrite.