Lines Matching refs:serial
435 determine_scanner_serial (const char *hostname, const char * mac_address, char *serial)
440 /* determine a "serial number" for the scanner */
447 /* make the string fit into the serial */
459 strcpy( serial, copy );
460 return serial;
597 /* device not yet opened, use 0 for serial and session) */
615 cmd->seq_no = htons (++(device[devno].serial));
1476 if (ntohs (resp_buf.seq_no) != (uint16_t) device[devno].serial)
1480 "bjnp_recv_header: ERROR - Received response has serial %d, expected %d\n",
1481 (int) ntohs (resp_buf.seq_no), (int) device[devno].serial));
1520 device[dn].serial = -1;
1886 SANE_String_Const serial,
1892 char serial[BJNP_SERIAL_MAX];
1920 determine_scanner_serial (scanner_host, device[*dev_no].mac_address, serial);
1922 switch (attach_bjnp (uri, serial, cfg))
1925 PDBG (bjnp_dbg (LOG_NOTICE, "add_scanner: New scanner added: %s, serial %s, mac address: %s.\n",
1926 uri, serial, device[*dev_no].mac_address));
2013 SANE_String_Const serial,