Wait command explain
Development
3
Posts
2
Posters
2.2k
Views
2
Watching
-
HI All,
Can anyone explain me please about the wait command?
i see this in the library API:
bool wait(unsigned long ms, uint8_t cmd, uint8_t msgtype);
ms - The number of milliseconds to wait (while still processing incoming data)
cmd - The command type to wait for
msgtype - The message type to wait for- what is cmd? what types?
- if i use ms = 0 will it wait forever (or at list until message arrives)
Thanks for your help.