18
/
27
u8 pkt_part
1 byte
Long subcontract send number barcode data
u8 payload[29]
Max 29byte
Effective data area (Data of barcode)
7
、
Inventory mode to save and read data packet format
:
The statement field
Size
Description
u16 len
2byte
The length of the barcode
u8
barcode_buf[520]
The size of the data
of effective
barcode data
Effective barcode data
7.1 Inventory model management information storage format:
Type
Fields
Length
Description
u8
sequence
1Byte
The order of the information stored in the
management sector
u16
barcode_count
2Byte
The number of barcode in the inventory model of
storage
U16
mode2_barcode_count 2Byte
Cache barcode number
u32
write_addr
4Byte
The initial address of can be written (Inventory
mode)
u32
read_addr
4Byte
The initial address of can be read(Inventory mode)
u32
mode2_write_addr
4Byte
Initial address of can be written in the
buffer(Cache mode)
u32
mode2_read_addr
4Byte
Initial address of can be read in the buffer(Cache
mode)
8
、
433 wireless data packet
The packet format
The statement field
Size
Description
U8 pkt_length
1byte
The length of the packet (The entire packet length
,
contains the length of byte)
u8 pkt_part
1 byte
Long subcontract send number barcode data
U16 src_addr
2byte
source address
U32 dst_addr
2byte
destination address
U8 pkt_check
1 byte
[7] Address pairing indication marks
[6] 0: command package 1: The packet
[5] Barcode transmission complete indication marks
0: Transfer to complete
1: unfinished
[4] Whether to show ID
0: ID hide
1: ID show
[3:0] Reserved[0~7]