QRConfigure Function

Navigation:  Reference Guide >

QRConfigure Function

Previous pageReturn to chapter overviewNext page

Sets up the parameters of QRCode barcode.

void QRConfigure(WORD Version, WORD Level, WORD Mask);

Parameters

Version

Indicates the version of the QRCode barcode, this parameter can be one of the following values.

Value

Description

0

Auto

1

21 X 21

2

25 X 25

3

29 X 29

4

33 X 33

5

37 X 37

6

41 X 41

7

45 X 45

8

49 X 49

9

53 X 53

10

57 X 57

11

61 X 61

12

65 X 65

13

69 X 69

14

73 X 73

15

77 X 77

16

81 X 81

17

85 X 85

18

89 X 89

19

93 X 93

20

97 X 97

21

101 X 101

22

105 X 105

23

109 X 109

24

113 X 113

25

117 X 117

26

121 X 121

27

125 X 125

28

129 X 129

29

133 X 133

30

137 X 137

31

141 X 141

32

145 X 145

33

149 X 149

34

153 X 153

35

157 X 157

36

161 X 161

37

165 X 165

38

169 X 169

39

173 X 173

40

177 X 177

Level

Indicates the level of error correction allowing recovery, this parameter can be one of the following values.

Value

Comment

0

Level L

1

Level M

2

Level Q

3

Level H

Mask

Indicates the mask pattern for improving the readability, this parameter can be one of the following values.

Value

Comment

0

Auto

1

Mask 0

2

Mask 1

3

Mask 2

4

Mask 3

5

Mask 4

6

Mask 5

7

Mask 6

8

Mask 7