This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
EventCodeFromName()
EventCodeFromName(name): int
Get event code from event name
name |
String |
Event name |
Return
Event code, or 0 if event with given name does not exist.
println(EventCodeFromName("SYS_NODE_DOWN")); // will print "28"