User's Guide

Tarvos User Guide - Version 0.3 47
modem.protocol.isoc.write()
Permission
admin
Min parameters
3
Max parameters
6
Write information to the to the tag specified by 'tag_id'.
Param 1: 'tag_id' ==> (Hex Array) Identifier of tag being operated
upon (for ISOC, its the EPC)
(e.g. 0x294315325E9DCB8F0871F7B3)
Param 2: 'pwd' ==> (Hex Array) Current access password of targeted
tag.
Param 3: 'mem_bank' ==> (Enum) '0' (reserved), '1' (epc), '2' (tid), or
'3' (user memory)
Param 4: 'word_ptr' ==> (Integer) Address of read operation on tag
(needs to be 16 bit aligned)
Param 5: 'data' ==> (Hex Array) Data to be written to word_ptr
address. Must be 16 bit aligned in
hex.
Param 6: 'antenna' ==> (Integer) Antenna port to work with
(e.g. '1', '2', ...)
Example:
modem.protocol.isoc.write(tag_id=0x1234, mem_bank=1, word_ptr=2,
data=0x1234, antenna=2)
ok
modem.protocol.isob.read()
Permission
admin
Min parameters
2
Max parameters
4
Read block_count blocks of 8 bytes of data at address from the chosen tag (if in
field).
'tag_id' and 'address' are required. If 'antenna' is not specified, the read
will
attempt to read the tag on all connected ports in the antennas.mux_sequence.
Param 1: 'tag_id' ==> (Hex Array) Identifier of tag being operated
upon . This must be exactly 64
bits.
(for ISOB, its the unique 64 bit ID)
(e.g. 0x5E9DCB8F0871F7B3)
Param 2: 'address' ==> (Integer) The address in memory to start reading
8 bytes.
Param 3: 'block_count' ==> (Integer) The number of 8 byte blocks to read
(max of 31 blocks at a time)
Param 4: 'antenna' ==> (Integer) Antenna port to work with
(e.g. '1', '2', ...)
Example:
modem.protocol.isob.read(tag_id=0x0123456789abcdef, address=0)
ok data = 0x0123456789abcdef
modem.protocol.isoc.physical.set()
Permission
admin
Min parameters
2
Max parameters
7
Not used. There for backward compatibility. Do not use.