Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tang30000 opened this issue Nov 7, 2020 · 3 comments

Comments

@tang30000
Copy link

tang30000 commented Nov 7, 2020

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

@joeybab3
Copy link
Contributor

What do you mean by lose it?

@vladaman
Copy link

vladaman commented Mar 2, 2022

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:

espNowFloodingMesh_requestInstantTimeSyncFromMaster();

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

@nauen
Copy link

nauen commented Jan 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants