m_mfgData.size () returns zero since the first byte in dataToAdvertise array is a null-character (0) Proposed Alternative: ...