Lines Matching defs:serial
56 char serial[128];
327 register_device(struct usb_handle *uh, const char *serial)
330 uh, serial);
336 strcpy(usb->serial, uh->serial);
350 register_usb_transport(usb, serial, NULL, 1);
383 char serial[256] = {0};
474 // read the device's serial number
475 memset(serial, 0, sizeof(serial));
488 // reading serial
514 if (r > 0) { /* converting serial */
519 serial[j - 1] = buffer[j];
521 serial[j - 1] = '\0';
526 if (register_device(&uh, serial) == 0) {