tool/CommandMaster.cpp
changeset 1401 96baef8a3162
parent 1373 e651000f1ff1
child 1415 9d1cdbf41247
equal deleted inserted replaced
1400:3c4923051e43 1401:96baef8a3162
   105                 << setw(2) << (unsigned int) data.devices[i].address[3] << ":"
   105                 << setw(2) << (unsigned int) data.devices[i].address[3] << ":"
   106                 << setw(2) << (unsigned int) data.devices[i].address[4] << ":"
   106                 << setw(2) << (unsigned int) data.devices[i].address[4] << ":"
   107                 << setw(2) << (unsigned int) data.devices[i].address[5] << " ("
   107                 << setw(2) << (unsigned int) data.devices[i].address[5] << " ("
   108                 << (data.devices[i].attached ? "attached" : "waiting...")
   108                 << (data.devices[i].attached ? "attached" : "waiting...")
   109                 << ")" << endl << dec
   109                 << ")" << endl << dec
       
   110                 << "    Link: " << (data.devices[i].link_state ? "UP" : "DOWN") << endl
   110                 << "    Tx count: " << data.devices[i].tx_count << endl
   111                 << "    Tx count: " << data.devices[i].tx_count << endl
   111                 << "    Rx count: " << data.devices[i].rx_count;
   112                 << "    Rx count: " << data.devices[i].rx_count;
   112         }
   113         }
   113         cout << endl;
   114         cout << endl;
   114     }
   115     }