32 return os <<
"ID: " << std::dec << msg.
id <<
" - DLC: " << unsigned(msg.
dlc) <<
" - Data:" 33 << std::hex << std::setfill(
'0')
34 <<
" " << std::setw(2) << unsigned(msg.
data[0])
35 <<
" " << std::setw(2) << unsigned(msg.
data[1])
36 <<
" " << std::setw(2) << unsigned(msg.
data[2])
37 <<
" " << std::setw(2) << unsigned(msg.
data[3])
38 <<
" " << std::setw(2) << unsigned(msg.
data[4])
39 <<
" " << std::setw(2) << unsigned(msg.
data[5])
40 <<
" " << std::setw(2) << unsigned(msg.
data[6])
41 <<
" " << std::setw(2) << unsigned(msg.
data[7])
Implements a struct representing a can message.
std::ostream & operator<<(std::ostream &os, InterpretedCanMessages const &interpreted_can_messages)