Lines Matching defs:info
236 unsigned char info[6];
239 e2_recv(s, info, 1, &status);
241 e2_recv(s, info, info_size, &status);
247 if (info[0] == NAK) {
253 if (info[0] != STX) {
254 DBG(1, "%s: expecting STX, got %02X\n", __func__, info[0]);
260 e2_recv(s, &info[1], info_size - 1, &status);
266 *scanner_status = info[1];
269 *payload_size = le16atoh(&info[2]);
272 *payload_size *= le16atoh(&info[4]);
282 * will be answered by the scanner with an info block of 4 bytes
306 /* send command, we expect the info block + reply_len back */