espNowFloodingMeshLibrary icon indicating copy to clipboard operation
espNowFloodingMeshLibrary copied to clipboard

It looks like that you lose the function:espNowFloodingMesh_isSyncedWithMaster()

Open tang30000 opened this issue 4 years ago • 3 comments

It looks like that you lose the function:espNowFloodingMesh_isSyncedWithMaster()

tang30000 avatar Nov 07 '20 12:11 tang30000

What do you mean by lose it?

joeybab3 avatar Nov 19 '20 06:11 joeybab3

Like @tang30000 I am trying to use an example. He is referring to method espNowFloodingMesh_requestInstantTimeSyncFromMaster() which is not declared in header file. IDE will snow an error and compile will also fail. Examples use this method and it's not clear if this can be dropped.

See this line: https://github.com/arttupii/espNowFloodingMeshLibrary/blob/d62739d2e9790490ac67b187638b20da002b4178/examples/start-network/slave/slave.ino#L22

src/main.cpp: In function 'void setup()':
src/main.cpp:49:3: error: 'espNowFloodingMesh_requestInstantTimeSyncFromMaster' was not declared in this scope
   49 |   espNowFloodingMesh_requestInstantTimeSyncFromMaster();
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.cpp:52:10: error: 'espNowFloodingMesh_isSyncedWithMaster' was not declared in this scope; did you mean 'espNowFloodingMesh_syncWithMasterAndWait'?
   52 |   while (espNowFloodingMesh_isSyncedWithMaster() == false)
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          espNowFloodingMesh_syncWithMasterAndWait
*** [.pio/build/nodemcuv2/src/main.cpp.o] Error 1

vladaman avatar Mar 02 '22 09:03 vladaman

same, as well espNowFloodingMesh_begin(ESP_NOW_CHANNEL), is not working. It's defined like that: #ifndef USE_RAW_801_11 void espNowFloodingMesh_begin(int channel, int bsid) { #else void espNowFloodingMesh_begin(int channel, char bsId[6]) { #endif

nauen avatar Jan 13 '23 19:01 nauen