beautypg.com

Baracoda Barcode Reader User Manual

Page 51

background image

DualRunners – Communication Protocol v1.3

- 51 -

Data Capture

for Workforce

in Motion

01 : mifare ultralight card

02 : mifare 1K card

03 : mifare 4K card

ETC. the complete list of card types codes is shown below }

For each read sector/page:

If Mifare Ultralight :

{1B : page number

4B : data}

If Mifare 1K or 4K :

{1B : sector number

1B : block number

16B : data}

If ISO15693 card from NXP or TI :

{1B : block number

4B : data}

If ISO15693 card from STMicroelectronics :

{1B : block number

1B : data}

Code ID

0x82

Description

Write data into a TAG

Payload

7+ bytes:

2B : { protocol mask

the mask format is the same as the one used in command 0x02.

if 00 00 is given, then the default mask will be used (the one defined with

command 0x02) }

1B : { timeout

Timeout for the response.

if 00 is given, then the default timeout will be used (5s) }

1B : { card type

00 : try any supported card

01 : write in mifare ultralight cards

02 : write in mifare 1K cards

03 : write in mifare 4K cards

ETC. the complete list of card types codes is shown below }

1B : { start sector

Number of first sector/page to start writing at}

2B : { length (MAX = 256)

Number of bytes to write

/!\ whole sectors will be written. If the specified number of bytes does not

complete one sector, the remaining space will be erased. }

xB : { data }

Response

1 byte: { 1 = success }