if (do_inq(sg_fd, 0, 1, 0x80, rsp_buff, MX_ALLOC_LEN, 0))
{
len = rsp_buff[3];
int new_len = rsp_buff[3];
if (len > 0)
if (new_len > 0)
node.setSerial(hw::strip(string(rsp_buff + 4, len)));
node.setSerial(hw::strip(string(rsp_buff + 4, new_len)));
}