41 if (bytes_received==0 || (err && err!=ba::error::eof))
45 if (err && err!=ba::error::eof &&
46 err!=ba::error::basic_errors::not_connected &&
47 err!=ba::error::basic_errors::operation_aborted)
50 str <<
"Reading from " << URL() <<
": " << err.message() <<
" (" << err <<
")";
58 const uint16_t chk1 = uint16_t(
fBuffer[2]);
63 out <<
"Checksum error (";
64 out << hex << setfill(
'0');
65 out << setw(4) <<
fBuffer[0] <<
":";
66 out << setw(4) << fBuffer[1] <<
"|";
67 out << setw(4) << fBuffer[2] <<
"!=";
68 out << setw(4) << chk1 <<
")";
84 msg << fixed << setprecision(1) <<
"H=" << data.
hum <<
"% T=" << data.
temp <<
"°C" ;
virtual void Update(const PFmini::Data &)
vector< int16_t > fBuffer