Lines Matching refs:chr
108 if ack == chr(0xaa):
119 data += chr((crc >> 8)&0xff)
120 data += chr(crc&0xff)
137 data += chr((crc >> 8)&0xff)
138 data += chr(crc&0xff)
145 head = chr(0xDA)
146 head += chr(seq&0xFF)
147 head += chr((~seq)&0xFF)
152 data += chr((crc >> 8)&0xff)
153 data += chr(crc&0xff)
158 data = chr(0xED)
159 data += chr(seq&0xFF)
160 data += chr((~seq)&0xFF)
162 data += chr((crc >> 8)&0xff)
163 data += chr(crc&0xff)