mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-02 07:03:54 +00:00
meshtimesync p1
This commit is contained in:
@@ -139,6 +139,8 @@ void BaseChatMesh::onAdvertRecv(mesh::Packet *packet, const mesh::Identity &id,
|
||||
{
|
||||
LOG_DBG("onAdvertRecv: timestamp=%u app_data_len=%u", timestamp, (unsigned)app_data_len);
|
||||
|
||||
onAdvertTimeSample(id, timestamp, packet->getPathHashCount());
|
||||
|
||||
AdvertDataParser parser(app_data, app_data_len);
|
||||
if (!(parser.isValid() && parser.hasName())) {
|
||||
LOG_WRN("onAdvertRecv: invalid parser or no name (valid=%d, hasName=%d)",
|
||||
|
||||
Reference in New Issue
Block a user